|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SuspendableService
A Service
which is also capable of suspending and resuming.
Method Summary | |
---|---|
boolean |
isSuspended()
Tests whether the service is suspended or not. |
void |
resume()
Resumes the service. |
void |
suspend()
Suspends the service. |
Methods inherited from interface org.apache.camel.Service |
---|
start, stop |
Method Detail |
---|
void suspend() throws java.lang.Exception
java.lang.Exception
- is thrown if suspending failedvoid resume() throws java.lang.Exception
java.lang.Exception
- is thrown if resuming failedboolean isSuspended()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |