public class DatasetStoreObjectSupport extends LifecycleObjectSupport
Constructor and Description |
---|
DatasetStoreObjectSupport() |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart()
Subclasses may implement this method with the start behaviour.
|
protected void |
doStop()
Subclasses may implement this method with the stop behaviour.
|
protected void |
handleTimeout()
Handle idle timeout.
|
protected void |
onInit()
Subclasses may implement this for initialization logic.
|
void |
resetIdleTimeout()
Reset idle timeout.
|
void |
setCloseTimeout(long closeTimeout)
Sets the close timeout.
|
void |
setIdleTimeout(long idleTimeout)
Sets the idle timeout.
|
afterPropertiesSet, getBeanFactory, getPhase, getStoreEventPublisher, getTaskExecutor, getTaskScheduler, isAutoStartup, isRunning, setAutoStartup, setBeanFactory, setPhase, setStoreEventPublisher, setTaskExecutor, setTaskScheduler, start, stop, stop
protected void onInit() throws java.lang.Exception
LifecycleObjectSupport
InitializingBean
phase.
Implementor should always call super method not to break initialization chain.onInit
in class LifecycleObjectSupport
java.lang.Exception
- if error occurred during initprotected void doStart()
LifecycleObjectSupport
LifecycleObjectSupport.lifecycleLock
.doStart
in class LifecycleObjectSupport
protected void doStop()
LifecycleObjectSupport
LifecycleObjectSupport.lifecycleLock
.doStop
in class LifecycleObjectSupport
public void setIdleTimeout(long idleTimeout)
idleTimeout
- the new idle timeoutpublic void setCloseTimeout(long closeTimeout)
closeTimeout
- the new close timeoutpublic void resetIdleTimeout()
protected void handleTimeout()