ServiceController, SchedulerServicepublic class QuartzSchedulerService extends AbstractServiceController implements SchedulerService
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
ACTIVITY_CONTEXT_DATA_KEY |
|
static java.lang.String |
ACTIVITY_DATA_KEY |
| Constructor | Description |
|---|---|
QuartzSchedulerService(ActivityContext context) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doPause() |
|
protected void |
doPause(long timeout) |
|
protected void |
doRestart() |
|
protected void |
doResume() |
|
protected void |
doStart() |
|
protected void |
doStop() |
|
int |
getStartDelaySeconds() |
|
boolean |
isDerived() |
Returns whether this service is derived from another root service.
|
boolean |
isWaitOnShutdown() |
|
void |
pause(java.lang.String scheduleId) |
|
void |
resume(java.lang.String scheduleId) |
|
void |
setExposals(java.lang.String[] includePatterns,
java.lang.String[] excludePatterns) |
|
void |
setStartDelaySeconds(int startDelaySeconds) |
|
void |
setWaitOnShutdown(boolean waitOnShutdown) |
getLock, getServiceName, isActive, pause, pause, restart, resume, setServiceStateListener, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServiceName, isActive, pause, pause, restart, resume, setServiceStateListener, start, stoppublic static final java.lang.String ACTIVITY_CONTEXT_DATA_KEY
public static final java.lang.String ACTIVITY_DATA_KEY
public QuartzSchedulerService(ActivityContext context)
public int getStartDelaySeconds()
getStartDelaySeconds in interface SchedulerServicepublic void setStartDelaySeconds(int startDelaySeconds)
setStartDelaySeconds in interface SchedulerServicepublic boolean isWaitOnShutdown()
isWaitOnShutdown in interface SchedulerServicepublic void setWaitOnShutdown(boolean waitOnShutdown)
setWaitOnShutdown in interface SchedulerServicepublic void setExposals(java.lang.String[] includePatterns,
java.lang.String[] excludePatterns)
setExposals in interface SchedulerServicepublic boolean isDerived()
ServiceControllerisDerived in interface ServiceControllerprotected void doStart()
throws java.lang.Exception
doStart in class AbstractServiceControllerjava.lang.Exceptionprotected void doRestart()
throws java.lang.Exception
doRestart in class AbstractServiceControllerjava.lang.Exceptionprotected void doPause()
throws java.lang.Exception
doPause in class AbstractServiceControllerjava.lang.Exceptionprotected void doPause(long timeout)
throws java.lang.Exception
doPause in class AbstractServiceControllerjava.lang.Exceptionprotected void doResume()
throws java.lang.Exception
doResume in class AbstractServiceControllerjava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class AbstractServiceControllerjava.lang.Exceptionpublic void pause(java.lang.String scheduleId)
throws SchedulerServiceException
SchedulerServiceExceptionpublic void resume(java.lang.String scheduleId)
throws SchedulerServiceException
SchedulerServiceExceptionCopyright © 2008–2018 The Aspectran Project. All rights reserved.