Class QuartzSchedulerService
java.lang.Object
com.aspectran.core.service.AbstractServiceController
com.aspectran.core.scheduler.service.QuartzSchedulerService
- All Implemented Interfaces:
SchedulerService
,ServiceController
The Class QuartzSchedulerService.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doPause()
protected void
doPause
(long timeout) protected void
doResume()
protected void
doStart()
protected void
doStop()
int
boolean
Returns whether this service is derived from another root service.boolean
void
void
void
setStartDelaySeconds
(int startDelaySeconds) void
setWaitOnShutdown
(boolean waitOnShutdown) Methods inherited from class com.aspectran.core.service.AbstractServiceController
clearDerivedService, getLock, getRootService, getServiceName, isActive, isBusy, isExposable, joinDerivedService, pause, pause, restart, restart, resume, setExposals, setRootService, setServiceStateListener, start, stop, withdrawDerivedService
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aspectran.core.service.ServiceController
getRootService, getServiceName, isActive, isBusy, pause, pause, restart, restart, resume, setServiceStateListener, start, stop
-
Constructor Details
-
QuartzSchedulerService
-
-
Method Details
-
getStartDelaySeconds
public int getStartDelaySeconds()- Specified by:
getStartDelaySeconds
in interfaceSchedulerService
-
setStartDelaySeconds
public void setStartDelaySeconds(int startDelaySeconds) -
isWaitOnShutdown
public boolean isWaitOnShutdown()- Specified by:
isWaitOnShutdown
in interfaceSchedulerService
-
setWaitOnShutdown
public void setWaitOnShutdown(boolean waitOnShutdown) -
isDerived
public boolean isDerived()Description copied from class:AbstractServiceController
Returns whether this service is derived from another root service.- Specified by:
isDerived
in classAbstractServiceController
- Returns:
- whether this service is derived
-
doStart
- Specified by:
doStart
in classAbstractServiceController
- Throws:
Exception
-
doPause
- Specified by:
doPause
in classAbstractServiceController
- Throws:
Exception
-
doPause
- Specified by:
doPause
in classAbstractServiceController
- Throws:
Exception
-
doResume
- Specified by:
doResume
in classAbstractServiceController
- Throws:
Exception
-
doStop
- Specified by:
doStop
in classAbstractServiceController
- Throws:
Exception
-
getActivityContext
- Specified by:
getActivityContext
in interfaceSchedulerService
-
pause
- Throws:
SchedulerServiceException
-
resume
- Throws:
SchedulerServiceException
-