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
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
clear
void clear()
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
getCurrentlyExecutingJobs
java.util.List<JobExecutionContext> getCurrentlyExecutingJobs()
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
scheduleJob
java.util.Date scheduleJob(JobDetail jobDetail,
Trigger trigger)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
scheduleJob
java.util.Date scheduleJob(Trigger trigger)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
addJob
void addJob(JobDetail jobDetail,
boolean replace)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
deleteJob
boolean deleteJob(JobKey jobKey)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
unscheduleJob
boolean unscheduleJob(TriggerKey triggerKey)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
rescheduleJob
java.util.Date rescheduleJob(TriggerKey triggerKey,
Trigger newTrigger)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
triggerJob
void triggerJob(JobKey jobKey,
JobDataMap data)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
triggerJob
void triggerJob(OperableTrigger trig)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
pauseTrigger
void pauseTrigger(TriggerKey triggerKey)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
pauseTriggers
void pauseTriggers(GroupMatcher<TriggerKey> matcher)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
pauseJob
void pauseJob(JobKey jobKey)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
pauseJobs
void pauseJobs(GroupMatcher<JobKey> matcher)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
resumeTrigger
void resumeTrigger(TriggerKey triggerKey)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
resumeTriggers
void resumeTriggers(GroupMatcher<TriggerKey> matcher)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
getPausedTriggerGroups
java.util.Set<java.lang.String> getPausedTriggerGroups()
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
resumeJob
void resumeJob(JobKey jobKey)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
resumeJobs
void resumeJobs(GroupMatcher<JobKey> matcher)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
pauseAll
void pauseAll()
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
resumeAll
void resumeAll()
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
getJobGroupNames
java.util.List<java.lang.String> getJobGroupNames()
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
getJobKeys
java.util.Set<JobKey> getJobKeys(GroupMatcher<JobKey> matcher)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
getTriggersOfJob
java.util.List<? extends Trigger> getTriggersOfJob(JobKey jobKey)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
getTriggerGroupNames
java.util.List<java.lang.String> getTriggerGroupNames()
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
getTriggerKeys
java.util.Set<TriggerKey> getTriggerKeys(GroupMatcher<TriggerKey> matcher)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
getJobDetail
JobDetail getJobDetail(JobKey jobKey)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
getTrigger
Trigger getTrigger(TriggerKey triggerKey)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
getTriggerState
Trigger.TriggerState getTriggerState(TriggerKey triggerKey)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
addCalendar
void addCalendar(java.lang.String calName,
Calendar calendar,
boolean replace,
boolean updateTriggers)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
deleteCalendar
boolean deleteCalendar(java.lang.String calName)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
getCalendar
Calendar getCalendar(java.lang.String calName)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
getCalendarNames
java.util.List<java.lang.String> getCalendarNames()
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
interrupt
boolean interrupt(JobKey jobKey)
throws UnableToInterruptJobException,
java.rmi.RemoteException
- Throws:
UnableToInterruptJobException
java.rmi.RemoteException
checkExists
boolean checkExists(JobKey jobKey)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
checkExists
boolean checkExists(TriggerKey triggerKey)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
deleteJobs
boolean deleteJobs(java.util.List<JobKey> jobKeys)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
scheduleJobs
void scheduleJobs(java.util.Map<JobDetail,java.util.List<Trigger>> triggersAndJobs,
boolean replace)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
unscheduleJobs
boolean unscheduleJobs(java.util.List<TriggerKey> triggerKeys)
throws SchedulerException,
java.rmi.RemoteException
- Throws:
SchedulerException
java.rmi.RemoteException
Copyright 2001-2019, Terracotta, Inc.