|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatefulService
A Service
which has all the lifecycle events and offers details about its current state.
Method Summary | |
---|---|
ServiceStatus |
getStatus()
Returns the current status |
String |
getVersion()
Returns the version of this service |
boolean |
isRunAllowed()
Helper methods so the service knows if it should keep running. |
boolean |
isStarted()
Whether the service is started |
boolean |
isStarting()
Whether the service is starting |
boolean |
isStopped()
Whether the service is stopped |
boolean |
isStopping()
Whether the service is stopping |
boolean |
isSuspending()
Whether the service is suspending |
Methods inherited from interface org.apache.camel.SuspendableService |
---|
isSuspended, resume, suspend |
Methods inherited from interface org.apache.camel.ShutdownableService |
---|
shutdown |
Methods inherited from interface org.apache.camel.Service |
---|
start, stop |
Method Detail |
---|
ServiceStatus getStatus()
boolean isStarted()
boolean isStarting()
boolean isStopping()
boolean isStopped()
boolean isSuspending()
boolean isRunAllowed()
String getVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |