ServiceController
, SchedulerService
public 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, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServiceName, isActive, pause, pause, restart, resume, setServiceStateListener, start, stop
public 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 SchedulerService
public void setStartDelaySeconds(int startDelaySeconds)
setStartDelaySeconds
in interface SchedulerService
public boolean isWaitOnShutdown()
isWaitOnShutdown
in interface SchedulerService
public void setWaitOnShutdown(boolean waitOnShutdown)
setWaitOnShutdown
in interface SchedulerService
public void setExposals(java.lang.String[] includePatterns, java.lang.String[] excludePatterns)
setExposals
in interface SchedulerService
public boolean isDerived()
ServiceController
isDerived
in interface ServiceController
protected void doStart() throws java.lang.Exception
doStart
in class AbstractServiceController
java.lang.Exception
protected void doRestart() throws java.lang.Exception
doRestart
in class AbstractServiceController
java.lang.Exception
protected void doPause() throws java.lang.Exception
doPause
in class AbstractServiceController
java.lang.Exception
protected void doPause(long timeout) throws java.lang.Exception
doPause
in class AbstractServiceController
java.lang.Exception
protected void doResume() throws java.lang.Exception
doResume
in class AbstractServiceController
java.lang.Exception
protected void doStop() throws java.lang.Exception
doStop
in class AbstractServiceController
java.lang.Exception
public void pause(java.lang.String scheduleId) throws SchedulerServiceException
SchedulerServiceException
public void resume(java.lang.String scheduleId) throws SchedulerServiceException
SchedulerServiceException
Copyright © 2008–2018 The Aspectran Project. All rights reserved.