public class ExpirationService extends AbstractService
logger| Constructor and Description |
|---|
ExpirationService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
java.util.concurrent.Future<?> |
expireSegment(java.lang.Runnable runnable) |
void |
expireSegmentInline(java.lang.Runnable runnable) |
java.util.concurrent.Future<?> |
expireToken(java.lang.Runnable runnable) |
boolean |
isEnabled()
Is the service enabled.
|
getLogger, getName, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stopprotected void doStart()
throws java.lang.Exception
doStart in class AbstractServicejava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class AbstractServicejava.lang.Exceptionpublic boolean isEnabled()
Servicetrue if the service is enabledpublic java.util.concurrent.Future<?> expireSegment(java.lang.Runnable runnable)
public void expireSegmentInline(java.lang.Runnable runnable)
public java.util.concurrent.Future<?> expireToken(java.lang.Runnable runnable)