org.quartz.core
Interface RemotableQuartzScheduler
- All Superinterfaces:
- Remote
- All Known Implementing Classes:
- QuartzScheduler
public interface RemotableQuartzScheduler
- extends Remote
- Author:
- James House
getSchedulerName
String getSchedulerName()
throws RemoteException
- Throws:
RemoteException
getSchedulerInstanceId
String getSchedulerInstanceId()
throws RemoteException
- Throws:
RemoteException
getSchedulerContext
SchedulerContext getSchedulerContext()
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
start
void start()
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
startDelayed
void startDelayed(int seconds)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
standby
void standby()
throws RemoteException
- Throws:
RemoteException
isInStandbyMode
boolean isInStandbyMode()
throws RemoteException
- Throws:
RemoteException
shutdown
void shutdown()
throws RemoteException
- Throws:
RemoteException
shutdown
void shutdown(boolean waitForJobsToComplete)
throws RemoteException
- Throws:
RemoteException
isShutdown
boolean isShutdown()
throws RemoteException
- Throws:
RemoteException
runningSince
Date runningSince()
throws RemoteException
- Throws:
RemoteException
getVersion
String getVersion()
throws RemoteException
- Throws:
RemoteException
numJobsExecuted
int numJobsExecuted()
throws RemoteException
- Throws:
RemoteException
getJobStoreClass
Class getJobStoreClass()
throws RemoteException
- Throws:
RemoteException
supportsPersistence
boolean supportsPersistence()
throws RemoteException
- Throws:
RemoteException
isClustered
boolean isClustered()
throws RemoteException
- Throws:
RemoteException
getThreadPoolClass
Class getThreadPoolClass()
throws RemoteException
- Throws:
RemoteException
getThreadPoolSize
int getThreadPoolSize()
throws RemoteException
- Throws:
RemoteException
clear
void clear()
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
getCurrentlyExecutingJobs
List<JobExecutionContext> getCurrentlyExecutingJobs()
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
scheduleJob
Date scheduleJob(JobDetail jobDetail,
Trigger trigger)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
scheduleJob
Date scheduleJob(Trigger trigger)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
addJob
void addJob(JobDetail jobDetail,
boolean replace)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
deleteJob
boolean deleteJob(JobKey jobKey)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
unscheduleJob
boolean unscheduleJob(TriggerKey triggerKey)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
rescheduleJob
Date rescheduleJob(TriggerKey triggerKey,
Trigger newTrigger)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
triggerJob
void triggerJob(JobKey jobKey,
JobDataMap data)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
triggerJob
void triggerJob(org.quartz.spi.OperableTrigger trig)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
pauseTrigger
void pauseTrigger(TriggerKey triggerKey)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
pauseTriggers
void pauseTriggers(GroupMatcher<TriggerKey> matcher)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
pauseJob
void pauseJob(JobKey jobKey)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
pauseJobs
void pauseJobs(GroupMatcher<JobKey> matcher)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
resumeTrigger
void resumeTrigger(TriggerKey triggerKey)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
resumeTriggers
void resumeTriggers(GroupMatcher<TriggerKey> matcher)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
getPausedTriggerGroups
Set<String> getPausedTriggerGroups()
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
resumeJob
void resumeJob(JobKey jobKey)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
resumeJobs
void resumeJobs(GroupMatcher<JobKey> matcher)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
pauseAll
void pauseAll()
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
resumeAll
void resumeAll()
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
getJobGroupNames
List<String> getJobGroupNames()
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
getJobKeys
Set<JobKey> getJobKeys(GroupMatcher<JobKey> matcher)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
getTriggersOfJob
List<? extends Trigger> getTriggersOfJob(JobKey jobKey)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
getTriggerGroupNames
List<String> getTriggerGroupNames()
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
getTriggerKeys
Set<TriggerKey> getTriggerKeys(GroupMatcher<TriggerKey> matcher)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
getJobDetail
JobDetail getJobDetail(JobKey jobKey)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
getTrigger
Trigger getTrigger(TriggerKey triggerKey)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
getTriggerState
Trigger.TriggerState getTriggerState(TriggerKey triggerKey)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
addCalendar
void addCalendar(String calName,
Calendar calendar,
boolean replace,
boolean updateTriggers)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
deleteCalendar
boolean deleteCalendar(String calName)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
getCalendar
Calendar getCalendar(String calName)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
getCalendarNames
List<String> getCalendarNames()
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
interrupt
boolean interrupt(JobKey jobKey)
throws UnableToInterruptJobException,
RemoteException
- Throws:
UnableToInterruptJobException
RemoteException
checkExists
boolean checkExists(JobKey jobKey)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
checkExists
boolean checkExists(TriggerKey triggerKey)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
deleteJobs
boolean deleteJobs(List<JobKey> jobKeys)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
scheduleJobs
void scheduleJobs(Map<JobDetail,List<Trigger>> triggersAndJobs,
boolean replace)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
unscheduleJobs
boolean unscheduleJobs(List<TriggerKey> triggerKeys)
throws SchedulerException,
RemoteException
- Throws:
SchedulerException
RemoteException
Copyright 2001-2011,
Terracotta, Inc.