org.quartz.core
Interface RemotableQuartzScheduler

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
QuartzScheduler

public interface RemotableQuartzScheduler
extends java.rmi.Remote

Author:
James House

Method Summary
 void addCalendar(SchedulingContext ctxt, java.lang.String calName, Calendar calendar, boolean replace, boolean updateTriggers)
           
 void addGlobalJobListener(JobListener jobListener)
           
 void addGlobalTriggerListener(TriggerListener triggerListener)
           
 void addJob(SchedulingContext ctxt, JobDetail jobDetail, boolean replace)
           
 void addJobListener(JobListener jobListener)
           
 void addSchedulerListener(SchedulerListener schedulerListener)
           
 void addTriggerListener(TriggerListener triggerListener)
           
 boolean deleteCalendar(SchedulingContext ctxt, java.lang.String calName)
           
 boolean deleteJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           
 Calendar getCalendar(SchedulingContext ctxt, java.lang.String calName)
           
 java.lang.String[] getCalendarNames(SchedulingContext ctxt)
           
 java.util.List getCurrentlyExecutingJobs()
           
 JobListener getGlobalJobListener(java.lang.String name)
           
 java.util.List getGlobalJobListeners()
           
 TriggerListener getGlobalTriggerListener(java.lang.String name)
           
 java.util.List getGlobalTriggerListeners()
           
 JobDetail getJobDetail(SchedulingContext ctxt, java.lang.String jobName, java.lang.String jobGroup)
           
 java.lang.String[] getJobGroupNames(SchedulingContext ctxt)
           
 JobListener getJobListener(java.lang.String name)
           
 java.util.Set getJobListenerNames()
           
 java.lang.String[] getJobNames(SchedulingContext ctxt, java.lang.String groupName)
           
 java.lang.Class getJobStoreClass()
           
 java.util.Set getPausedTriggerGroups(SchedulingContext ctxt)
           
 SchedulerContext getSchedulerContext()
           
 java.lang.String getSchedulerInstanceId()
           
 java.util.List getSchedulerListeners()
           
 java.lang.String getSchedulerName()
           
 java.lang.Class getThreadPoolClass()
           
 int getThreadPoolSize()
           
 Trigger getTrigger(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String triggerGroup)
           
 java.lang.String[] getTriggerGroupNames(SchedulingContext ctxt)
           
 TriggerListener getTriggerListener(java.lang.String name)
           
 java.util.Set getTriggerListenerNames()
           
 java.lang.String[] getTriggerNames(SchedulingContext ctxt, java.lang.String groupName)
           
 Trigger[] getTriggersOfJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           
 int getTriggerState(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String triggerGroup)
           
 java.lang.String getVersion()
           
 boolean interrupt(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           
 boolean isClustered()
           
 boolean isInStandbyMode()
           
 boolean isShutdown()
           
 int numJobsExecuted()
           
 void pauseAll(SchedulingContext ctxt)
           
 void pauseJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           
 void pauseJobGroup(SchedulingContext ctxt, java.lang.String groupName)
           
 void pauseTrigger(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           
 void pauseTriggerGroup(SchedulingContext ctxt, java.lang.String groupName)
           
 boolean removeGlobalJobListener(java.lang.String name)
           
 boolean removeGlobalTriggerListener(java.lang.String name)
           
 boolean removeJobListener(java.lang.String name)
           
 boolean removeSchedulerListener(SchedulerListener schedulerListener)
           
 boolean removeTriggerListener(java.lang.String name)
           
 java.util.Date rescheduleJob(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName, Trigger newTrigger)
           
 void resumeAll(SchedulingContext ctxt)
           
 void resumeJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName)
           
 void resumeJobGroup(SchedulingContext ctxt, java.lang.String groupName)
           
 void resumeTrigger(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           
 void resumeTriggerGroup(SchedulingContext ctxt, java.lang.String groupName)
           
 java.util.Date runningSince()
           
 java.util.Date scheduleJob(SchedulingContext ctxt, JobDetail jobDetail, Trigger trigger)
           
 java.util.Date scheduleJob(SchedulingContext ctxt, Trigger trigger)
           
 void shutdown()
           
 void shutdown(boolean waitForJobsToComplete)
           
 void standby()
           
 void start()
           
 void startDelayed(int seconds)
           
 boolean supportsPersistence()
           
 void triggerJob(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName, JobDataMap data)
           
 void triggerJobWithVolatileTrigger(SchedulingContext ctxt, java.lang.String jobName, java.lang.String groupName, JobDataMap data)
           
 boolean unscheduleJob(SchedulingContext ctxt, java.lang.String triggerName, java.lang.String groupName)
           
 

Method Detail

getSchedulerName

java.lang.String getSchedulerName()
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSchedulerInstanceId

java.lang.String getSchedulerInstanceId()
                                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSchedulerContext

SchedulerContext getSchedulerContext()
                                     throws SchedulerException,
                                            java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

start

void start()
           throws SchedulerException,
                  java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

startDelayed

void startDelayed(int seconds)
                  throws SchedulerException,
                         java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

standby

void standby()
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isInStandbyMode

boolean isInStandbyMode()
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

shutdown

void shutdown()
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

shutdown

void shutdown(boolean waitForJobsToComplete)
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isShutdown

boolean isShutdown()
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

runningSince

java.util.Date runningSince()
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getVersion

java.lang.String getVersion()
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

numJobsExecuted

int numJobsExecuted()
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getJobStoreClass

java.lang.Class getJobStoreClass()
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

supportsPersistence

boolean supportsPersistence()
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isClustered

boolean isClustered()
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getThreadPoolClass

java.lang.Class getThreadPoolClass()
                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getThreadPoolSize

int getThreadPoolSize()
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCurrentlyExecutingJobs

java.util.List getCurrentlyExecutingJobs()
                                         throws SchedulerException,
                                                java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

scheduleJob

java.util.Date scheduleJob(SchedulingContext ctxt,
                           JobDetail jobDetail,
                           Trigger trigger)
                           throws SchedulerException,
                                  java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

scheduleJob

java.util.Date scheduleJob(SchedulingContext ctxt,
                           Trigger trigger)
                           throws SchedulerException,
                                  java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

addJob

void addJob(SchedulingContext ctxt,
            JobDetail jobDetail,
            boolean replace)
            throws SchedulerException,
                   java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

deleteJob

boolean deleteJob(SchedulingContext ctxt,
                  java.lang.String jobName,
                  java.lang.String groupName)
                  throws SchedulerException,
                         java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

unscheduleJob

boolean unscheduleJob(SchedulingContext ctxt,
                      java.lang.String triggerName,
                      java.lang.String groupName)
                      throws SchedulerException,
                             java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

rescheduleJob

java.util.Date rescheduleJob(SchedulingContext ctxt,
                             java.lang.String triggerName,
                             java.lang.String groupName,
                             Trigger newTrigger)
                             throws SchedulerException,
                                    java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

triggerJob

void triggerJob(SchedulingContext ctxt,
                java.lang.String jobName,
                java.lang.String groupName,
                JobDataMap data)
                throws SchedulerException,
                       java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

triggerJobWithVolatileTrigger

void triggerJobWithVolatileTrigger(SchedulingContext ctxt,
                                   java.lang.String jobName,
                                   java.lang.String groupName,
                                   JobDataMap data)
                                   throws SchedulerException,
                                          java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

pauseTrigger

void pauseTrigger(SchedulingContext ctxt,
                  java.lang.String triggerName,
                  java.lang.String groupName)
                  throws SchedulerException,
                         java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

pauseTriggerGroup

void pauseTriggerGroup(SchedulingContext ctxt,
                       java.lang.String groupName)
                       throws SchedulerException,
                              java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

pauseJob

void pauseJob(SchedulingContext ctxt,
              java.lang.String jobName,
              java.lang.String groupName)
              throws SchedulerException,
                     java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

pauseJobGroup

void pauseJobGroup(SchedulingContext ctxt,
                   java.lang.String groupName)
                   throws SchedulerException,
                          java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

resumeTrigger

void resumeTrigger(SchedulingContext ctxt,
                   java.lang.String triggerName,
                   java.lang.String groupName)
                   throws SchedulerException,
                          java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

resumeTriggerGroup

void resumeTriggerGroup(SchedulingContext ctxt,
                        java.lang.String groupName)
                        throws SchedulerException,
                               java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

getPausedTriggerGroups

java.util.Set getPausedTriggerGroups(SchedulingContext ctxt)
                                     throws SchedulerException,
                                            java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

resumeJob

void resumeJob(SchedulingContext ctxt,
               java.lang.String jobName,
               java.lang.String groupName)
               throws SchedulerException,
                      java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

resumeJobGroup

void resumeJobGroup(SchedulingContext ctxt,
                    java.lang.String groupName)
                    throws SchedulerException,
                           java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

pauseAll

void pauseAll(SchedulingContext ctxt)
              throws SchedulerException,
                     java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

resumeAll

void resumeAll(SchedulingContext ctxt)
               throws SchedulerException,
                      java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

getJobGroupNames

java.lang.String[] getJobGroupNames(SchedulingContext ctxt)
                                    throws SchedulerException,
                                           java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

getJobNames

java.lang.String[] getJobNames(SchedulingContext ctxt,
                               java.lang.String groupName)
                               throws SchedulerException,
                                      java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

getTriggersOfJob

Trigger[] getTriggersOfJob(SchedulingContext ctxt,
                           java.lang.String jobName,
                           java.lang.String groupName)
                           throws SchedulerException,
                                  java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

getTriggerGroupNames

java.lang.String[] getTriggerGroupNames(SchedulingContext ctxt)
                                        throws SchedulerException,
                                               java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

getTriggerNames

java.lang.String[] getTriggerNames(SchedulingContext ctxt,
                                   java.lang.String groupName)
                                   throws SchedulerException,
                                          java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

getJobDetail

JobDetail getJobDetail(SchedulingContext ctxt,
                       java.lang.String jobName,
                       java.lang.String jobGroup)
                       throws SchedulerException,
                              java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

getTrigger

Trigger getTrigger(SchedulingContext ctxt,
                   java.lang.String triggerName,
                   java.lang.String triggerGroup)
                   throws SchedulerException,
                          java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

getTriggerState

int getTriggerState(SchedulingContext ctxt,
                    java.lang.String triggerName,
                    java.lang.String triggerGroup)
                    throws SchedulerException,
                           java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

addCalendar

void addCalendar(SchedulingContext ctxt,
                 java.lang.String calName,
                 Calendar calendar,
                 boolean replace,
                 boolean updateTriggers)
                 throws SchedulerException,
                        java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

deleteCalendar

boolean deleteCalendar(SchedulingContext ctxt,
                       java.lang.String calName)
                       throws SchedulerException,
                              java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

getCalendar

Calendar getCalendar(SchedulingContext ctxt,
                     java.lang.String calName)
                     throws SchedulerException,
                            java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

getCalendarNames

java.lang.String[] getCalendarNames(SchedulingContext ctxt)
                                    throws SchedulerException,
                                           java.rmi.RemoteException
Throws:
SchedulerException
java.rmi.RemoteException

addGlobalJobListener

void addGlobalJobListener(JobListener jobListener)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addJobListener

void addJobListener(JobListener jobListener)
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

removeGlobalJobListener

boolean removeGlobalJobListener(java.lang.String name)
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

removeJobListener

boolean removeJobListener(java.lang.String name)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getGlobalJobListeners

java.util.List getGlobalJobListeners()
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getJobListenerNames

java.util.Set getJobListenerNames()
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getGlobalJobListener

JobListener getGlobalJobListener(java.lang.String name)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getJobListener

JobListener getJobListener(java.lang.String name)
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addGlobalTriggerListener

void addGlobalTriggerListener(TriggerListener triggerListener)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addTriggerListener

void addTriggerListener(TriggerListener triggerListener)
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

removeGlobalTriggerListener

boolean removeGlobalTriggerListener(java.lang.String name)
                                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

removeTriggerListener

boolean removeTriggerListener(java.lang.String name)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getGlobalTriggerListeners

java.util.List getGlobalTriggerListeners()
                                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTriggerListenerNames

java.util.Set getTriggerListenerNames()
                                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getGlobalTriggerListener

TriggerListener getGlobalTriggerListener(java.lang.String name)
                                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTriggerListener

TriggerListener getTriggerListener(java.lang.String name)
                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addSchedulerListener

void addSchedulerListener(SchedulerListener schedulerListener)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

removeSchedulerListener

boolean removeSchedulerListener(SchedulerListener schedulerListener)
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSchedulerListeners

java.util.List getSchedulerListeners()
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

interrupt

boolean interrupt(SchedulingContext ctxt,
                  java.lang.String jobName,
                  java.lang.String groupName)
                  throws UnableToInterruptJobException,
                         java.rmi.RemoteException
Throws:
UnableToInterruptJobException
java.rmi.RemoteException


Copyright 2001-2019, Terracotta, Inc.