Interface Lifecycle
-
- All Known Subinterfaces:
DurableQueueConsumer,DurableQueues,FencedLockManager
- All Known Implementing Classes:
DBFencedLockManager,DefaultDurableQueueConsumer
public interface LifecycleCommon process life cycle interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisStarted()Returns true if the process is startedvoidstart()Start the processing.voidstop()Stop the processing.
-
-
-
Method Detail
-
start
void start()
Start the processing. This operation must be idempotent, such that duplicate calls tostart()for an already started process (whereisStarted()returns true) is ignored
-
stop
void stop()
Stop the processing. This operation must be idempotent, such that duplicate calls tostop()for an already stopped process (whereisStarted()returns false) is ignored
-
isStarted
boolean isStarted()
Returns true if the process is started- Returns:
- true if the process is started otherwise false
-
-