|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that may be provided by MessageExchange impl's to allow users to control the lifecycle of the "stuff" going on under the covers
Method Summary | |
void |
awaitShutdown()
Block indefinitely until shutdown is complete. |
void |
awaitShutdown(long timeout)
Block for the specified amount of time or until shutdown is complete |
void |
cleanup()
Cleanup |
void |
init()
Initialize the lifecycle. |
void |
shutdown()
Performs a "safe shutdown", allowing all current activities to complete. |
void |
shutdown(boolean force)
Performs an "unsafe shutdown", interrupting all current activities without letting them complete |
Method Detail |
public void init()
public void cleanup() throws java.lang.InterruptedException
java.lang.InterruptedException
public void shutdown()
public void shutdown(boolean force)
public void awaitShutdown() throws java.lang.InterruptedException
java.lang.InterruptedException
public void awaitShutdown(long timeout) throws java.lang.InterruptedException
java.lang.InterruptedException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |