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()
|
java.util.List |
getGlobalJobListeners()
|
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 |
isPaused()
|
boolean |
isShutdown()
|
int |
numJobsExecuted()
|
void |
pause()
|
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(JobListener jobListener)
|
boolean |
removeGlobalTriggerListener(TriggerListener triggerListener)
|
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 |
start()
|
boolean |
supportsPersistence()
|
void |
triggerJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
|
void |
triggerJobWithVolatileTrigger(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
|
boolean |
unscheduleJob(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
|
getSchedulerName
public java.lang.String getSchedulerName()
throws java.rmi.RemoteException
getSchedulerInstanceId
public java.lang.String getSchedulerInstanceId()
throws java.rmi.RemoteException
getSchedulerContext
public SchedulerContext getSchedulerContext()
throws SchedulerException,
java.rmi.RemoteException
start
public void start()
throws SchedulerException,
java.rmi.RemoteException
pause
public void pause()
throws java.rmi.RemoteException
isPaused
public boolean isPaused()
throws java.rmi.RemoteException
shutdown
public void shutdown()
throws java.rmi.RemoteException
shutdown
public void shutdown(boolean waitForJobsToComplete)
throws java.rmi.RemoteException
isShutdown
public boolean isShutdown()
throws java.rmi.RemoteException
runningSince
public java.util.Date runningSince()
throws java.rmi.RemoteException
getVersion
public java.lang.String getVersion()
throws java.rmi.RemoteException
numJobsExecuted
public int numJobsExecuted()
throws java.rmi.RemoteException
getJobStoreClass
public java.lang.Class getJobStoreClass()
throws java.rmi.RemoteException
supportsPersistence
public boolean supportsPersistence()
throws java.rmi.RemoteException
getThreadPoolClass
public java.lang.Class getThreadPoolClass()
throws java.rmi.RemoteException
getThreadPoolSize
public int getThreadPoolSize()
throws java.rmi.RemoteException
getCurrentlyExecutingJobs
public java.util.List getCurrentlyExecutingJobs()
throws SchedulerException,
java.rmi.RemoteException
scheduleJob
public java.util.Date scheduleJob(SchedulingContext ctxt,
JobDetail jobDetail,
Trigger trigger)
throws SchedulerException,
java.rmi.RemoteException
scheduleJob
public java.util.Date scheduleJob(SchedulingContext ctxt,
Trigger trigger)
throws SchedulerException,
java.rmi.RemoteException
addJob
public void addJob(SchedulingContext ctxt,
JobDetail jobDetail,
boolean replace)
throws SchedulerException,
java.rmi.RemoteException
deleteJob
public boolean deleteJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
unscheduleJob
public boolean unscheduleJob(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
rescheduleJob
public java.util.Date rescheduleJob(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName,
Trigger newTrigger)
throws SchedulerException,
java.rmi.RemoteException
triggerJob
public void triggerJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
triggerJobWithVolatileTrigger
public void triggerJobWithVolatileTrigger(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
pauseTrigger
public void pauseTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
pauseTriggerGroup
public void pauseTriggerGroup(SchedulingContext ctxt,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
pauseJob
public void pauseJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
pauseJobGroup
public void pauseJobGroup(SchedulingContext ctxt,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
resumeTrigger
public void resumeTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
resumeTriggerGroup
public void resumeTriggerGroup(SchedulingContext ctxt,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
getPausedTriggerGroups
public java.util.Set getPausedTriggerGroups(SchedulingContext ctxt)
throws SchedulerException,
java.rmi.RemoteException
resumeJob
public void resumeJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
resumeJobGroup
public void resumeJobGroup(SchedulingContext ctxt,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
pauseAll
public void pauseAll(SchedulingContext ctxt)
throws SchedulerException,
java.rmi.RemoteException
resumeAll
public void resumeAll(SchedulingContext ctxt)
throws SchedulerException,
java.rmi.RemoteException
getJobGroupNames
public java.lang.String[] getJobGroupNames(SchedulingContext ctxt)
throws SchedulerException,
java.rmi.RemoteException
getJobNames
public java.lang.String[] getJobNames(SchedulingContext ctxt,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
getTriggersOfJob
public Trigger[] getTriggersOfJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
getTriggerGroupNames
public java.lang.String[] getTriggerGroupNames(SchedulingContext ctxt)
throws SchedulerException,
java.rmi.RemoteException
getTriggerNames
public java.lang.String[] getTriggerNames(SchedulingContext ctxt,
java.lang.String groupName)
throws SchedulerException,
java.rmi.RemoteException
getJobDetail
public JobDetail getJobDetail(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String jobGroup)
throws SchedulerException,
java.rmi.RemoteException
getTrigger
public Trigger getTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String triggerGroup)
throws SchedulerException,
java.rmi.RemoteException
getTriggerState
public int getTriggerState(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String triggerGroup)
throws SchedulerException,
java.rmi.RemoteException
addCalendar
public void addCalendar(SchedulingContext ctxt,
java.lang.String calName,
Calendar calendar,
boolean replace,
boolean updateTriggers)
throws SchedulerException,
java.rmi.RemoteException
deleteCalendar
public boolean deleteCalendar(SchedulingContext ctxt,
java.lang.String calName)
throws SchedulerException,
java.rmi.RemoteException
getCalendar
public Calendar getCalendar(SchedulingContext ctxt,
java.lang.String calName)
throws SchedulerException,
java.rmi.RemoteException
getCalendarNames
public java.lang.String[] getCalendarNames(SchedulingContext ctxt)
throws SchedulerException,
java.rmi.RemoteException
addGlobalJobListener
public void addGlobalJobListener(JobListener jobListener)
throws java.rmi.RemoteException
addJobListener
public void addJobListener(JobListener jobListener)
throws java.rmi.RemoteException
removeGlobalJobListener
public boolean removeGlobalJobListener(JobListener jobListener)
throws java.rmi.RemoteException
removeJobListener
public boolean removeJobListener(java.lang.String name)
throws java.rmi.RemoteException
getGlobalJobListeners
public java.util.List getGlobalJobListeners()
throws java.rmi.RemoteException
getJobListenerNames
public java.util.Set getJobListenerNames()
throws java.rmi.RemoteException
getJobListener
public JobListener getJobListener(java.lang.String name)
throws java.rmi.RemoteException
addGlobalTriggerListener
public void addGlobalTriggerListener(TriggerListener triggerListener)
throws java.rmi.RemoteException
addTriggerListener
public void addTriggerListener(TriggerListener triggerListener)
throws java.rmi.RemoteException
removeGlobalTriggerListener
public boolean removeGlobalTriggerListener(TriggerListener triggerListener)
throws java.rmi.RemoteException
removeTriggerListener
public boolean removeTriggerListener(java.lang.String name)
throws java.rmi.RemoteException
getGlobalTriggerListeners
public java.util.List getGlobalTriggerListeners()
throws java.rmi.RemoteException
getTriggerListenerNames
public java.util.Set getTriggerListenerNames()
throws java.rmi.RemoteException
getTriggerListener
public TriggerListener getTriggerListener(java.lang.String name)
throws java.rmi.RemoteException
addSchedulerListener
public void addSchedulerListener(SchedulerListener schedulerListener)
throws java.rmi.RemoteException
removeSchedulerListener
public boolean removeSchedulerListener(SchedulerListener schedulerListener)
throws java.rmi.RemoteException
getSchedulerListeners
public java.util.List getSchedulerListeners()
throws java.rmi.RemoteException
interrupt
public boolean interrupt(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
throws UnableToInterruptJobException,
java.rmi.RemoteException