public static interface IServiceShutdown.Options
IServiceShutdown
implementations.Modifier and Type | Field and Description |
---|---|
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). |
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_TIMEOUT
static final String DEFAULT_SHUTDOWN_TIMEOUT
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.