|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface Controllable
Classes which implement this interface provide a mechanism for managing the subsystems they represent. Currently, this is limited to methods for doing orderly shutdown and forced termination.
| Method Summary | |
|---|---|
void |
shutdown()
Initiate whatever process is necessary to do an orderly shutdown of the subsystem. |
void |
terminate()
Initiate whatever process is necessary to forcibly shut down the subsystem. |
void |
waitForShutdown(long timeout)
Wait for the shutdown process initiated by Controllable.shutdown() to
complete. |
void |
waitForTermination(long timeout)
Wait for the termination process initiated by Controllable.terminate() to complete. |
| Method Detail |
|---|
void shutdown()
This method should not block for a long time, so that multiple systems can be shut down in parallel.
void waitForShutdown(long timeout)
throws InterruptedException
Controllable.shutdown() to
complete.
timeout - If the timeout elapses before the shutdown process
has completed, return anyway.
InterruptedExceptionvoid terminate()
This method should not block for a long time, so that multiple systems can be shut down in parallel.
void waitForTermination(long timeout)
throws InterruptedException
Controllable.terminate() to complete.
timeout - If the timeout elapses before the shutdown process
has completed, return anyway.
InterruptedException
|
Documentation is available at ${DOCSWEBROOT} Copyright 2007 BEA Systems Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||