public interface IServiceShutdown
Modifier and Type | Interface and Description |
---|---|
static interface |
IServiceShutdown.Options
Options for
IServiceShutdown implementations. |
Modifier and Type | Method and Description |
---|---|
boolean |
isOpen()
Return
true iff the service is running. |
void |
shutdown()
The service will no longer accept new requests, but existing requests
will be processed (sychronous).
|
void |
shutdownNow()
The service will no longer accept new requests and will make a best
effort attempt to terminate all existing requests and return ASAP.
|
boolean isOpen()
true
iff the service is running.void shutdown()
IServiceShutdown.Options.SHUTDOWN_TIMEOUT
. Implementations SHOULD be
synchronized. If the service is aleady shutdown, then
this method should be a NOP.void shutdownNow()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.