public static interface IServiceShutdown.Options
|Modifier and Type||Field and Description|
The default timeout (0).
The maximum time in milliseconds that
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
Copyright © 2006–2016 SYSTAP, LLC DBA Blazegraph. All rights reserved.