|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface IServiceShutdown.Options
Options for IServiceShutdown implementations.
| Field Summary | |
|---|---|
static String |
DEFAULT_SHUTDOWN_TIMEOUT
The default timeout (0). |
static String |
SHUTDOWN_TIMEOUT
The maximum time in milliseconds that IServiceShutdown.shutdown() should wait
termination of the various services -or- ZERO (0) to wait forever
(default is to wait forever). |
| Field Detail |
|---|
static final String SHUTDOWN_TIMEOUT
IServiceShutdown.shutdown() should wait
termination of the various services -or- ZERO (0) to wait forever
(default is to wait forever).
Note: since services will continue to execute tasks that are already running but SHOULD NOT accept queued tasks once shutdown begins, this primarily effects whether or not tasks that are already executing will be allowed to run until completion.
Note: You can use IServiceShutdown.shutdownNow() to terminate the service
immediately.
DEFAULT_SHUTDOWN_TIMEOUTstatic final String DEFAULT_SHUTDOWN_TIMEOUT
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||