Home » quartz-1.6.0 » org » quartz » impl » [javadoc | source]
org.quartz.impl
public class: RemoteScheduler [javadoc | source]
java.lang.Object
   org.quartz.impl.RemoteScheduler

All Implemented Interfaces:
    Scheduler

An implementation of the Scheduler interface that remotely proxies all method calls to the equivalent call on a given QuartzScheduler instance, via RMI.

Constructor:
 public RemoteScheduler(SchedulingContext schedCtxt,
    String schedId,
    String host,
    int port) 

    Construct a RemoteScheduler instance to proxy the given RemoteableQuartzScheduler instance, and with the given SchedulingContext.

Method from org.quartz.impl.RemoteScheduler Summary:
addCalendar,   addGlobalJobListener,   addGlobalTriggerListener,   addJob,   addJobListener,   addSchedulerListener,   addTriggerListener,   deleteCalendar,   deleteJob,   getCalendar,   getCalendarNames,   getContext,   getCurrentlyExecutingJobs,   getGlobalJobListener,   getGlobalJobListeners,   getGlobalTriggerListener,   getGlobalTriggerListeners,   getJobDetail,   getJobGroupNames,   getJobListener,   getJobListenerNames,   getJobNames,   getMetaData,   getPausedTriggerGroups,   getRemoteScheduler,   getSchedulerInstanceId,   getSchedulerListeners,   getSchedulerName,   getTrigger,   getTriggerGroupNames,   getTriggerListener,   getTriggerListenerNames,   getTriggerNames,   getTriggerState,   getTriggersOfJob,   interrupt,   invalidateHandleCreateException,   isInStandbyMode,   isPaused,   isShutdown,   isStarted,   pause,   pauseAll,   pauseJob,   pauseJobGroup,   pauseTrigger,   pauseTriggerGroup,   removeGlobalJobListener,   removeGlobalJobListener,   removeGlobalTriggerListener,   removeGlobalTriggerListener,   removeJobListener,   removeSchedulerListener,   removeTriggerListener,   rescheduleJob,   resumeAll,   resumeJob,   resumeJobGroup,   resumeTrigger,   resumeTriggerGroup,   scheduleJob,   scheduleJob,   setJobFactory,   shutdown,   shutdown,   standby,   start,   triggerJob,   triggerJob,   triggerJobWithVolatileTrigger,   triggerJobWithVolatileTrigger,   unscheduleJob
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.quartz.impl.RemoteScheduler Detail:
 public  void addCalendar(String calName,
    Calendar calendar,
    boolean replace,
    boolean updateTriggers) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void addGlobalJobListener(JobListener jobListener) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void addGlobalTriggerListener(TriggerListener triggerListener) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void addJob(JobDetail jobDetail,
    boolean replace) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void addJobListener(JobListener jobListener) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void addSchedulerListener(SchedulerListener schedulerListener) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void addTriggerListener(TriggerListener triggerListener) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean deleteCalendar(String calName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public boolean deleteJob(String jobName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public Calendar getCalendar(String calName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public String[] getCalendarNames() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public SchedulerContext getContext() throws SchedulerException 

    Returns the SchedulerContext of the Scheduler.

 public List getCurrentlyExecutingJobs() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public JobListener getGlobalJobListener(String name) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public List getGlobalJobListeners() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public TriggerListener getGlobalTriggerListener(String name) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public List getGlobalTriggerListeners() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public JobDetail getJobDetail(String jobName,
    String jobGroup) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public String[] getJobGroupNames() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public JobListener getJobListener(String name) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public Set getJobListenerNames() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public String[] getJobNames(String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public SchedulerMetaData getMetaData() throws SchedulerException 
 public Set getPausedTriggerGroups() throws SchedulerException 
 protected RemotableQuartzScheduler getRemoteScheduler() throws SchedulerException 
 public String getSchedulerInstanceId() throws SchedulerException 

    Returns the instance Id of the Scheduler.

 public List getSchedulerListeners() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public String getSchedulerName() throws SchedulerException 

    Returns the name of the Scheduler.

 public Trigger getTrigger(String triggerName,
    String triggerGroup) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public String[] getTriggerGroupNames() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public TriggerListener getTriggerListener(String name) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public Set getTriggerListenerNames() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public String[] getTriggerNames(String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public int getTriggerState(String triggerName,
    String triggerGroup) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public Trigger[] getTriggersOfJob(String jobName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public boolean interrupt(String jobName,
    String groupName) throws UnableToInterruptJobException 
 protected SchedulerException invalidateHandleCreateException(String msg,
    Exception cause) 
 public boolean isInStandbyMode() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean isPaused() throws SchedulerException 
 public boolean isShutdown() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean isStarted() throws SchedulerException 
    Whether the scheduler has been started.

    Note: This only reflects whether #start() has ever been called on this Scheduler, so it will return true even if the Scheduler is currently in standby mode or has been since shutdown.

 public  void pause() throws SchedulerException 
Deprecated!
 public  void pauseAll() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void pauseJob(String jobName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void pauseJobGroup(String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void pauseTrigger(String triggerName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void pauseTriggerGroup(String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public boolean removeGlobalJobListener(JobListener jobListener) throws SchedulerException 
Deprecated! Use - #removeGlobalJobListener(String)

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean removeGlobalJobListener(String name) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean removeGlobalTriggerListener(TriggerListener triggerListener) throws SchedulerException 
Deprecated! Use - #removeGlobalTriggerListener(String)

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean removeGlobalTriggerListener(String name) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean removeJobListener(String name) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean removeSchedulerListener(SchedulerListener schedulerListener) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean removeTriggerListener(String name) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public Date rescheduleJob(String triggerName,
    String groupName,
    Trigger newTrigger) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void resumeAll() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void resumeJob(String jobName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void resumeJobGroup(String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void resumeTrigger(String triggerName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void resumeTriggerGroup(String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public Date scheduleJob(Trigger trigger) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public Date scheduleJob(JobDetail jobDetail,
    Trigger trigger) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void setJobFactory(JobFactory factory) throws SchedulerException 
 public  void shutdown() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void shutdown(boolean waitForJobsToComplete) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void standby() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void start() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void triggerJob(String jobName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void triggerJob(String jobName,
    String groupName,
    JobDataMap data) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void triggerJobWithVolatileTrigger(String jobName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void triggerJobWithVolatileTrigger(String jobName,
    String groupName,
    JobDataMap data) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public boolean unscheduleJob(String triggerName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.