| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private static final Logger | |
| private final Set | |
| private final ExecutorService | |
| private final TimeUnit | |
| private final NIOTransport |
| Access | Constructor and Description |
|---|---|
| pack-priv | GracefulShutdownRunner(final NIOTransport transport, final Set<GracefulShutdownListener> shutdownListeners, final ExecutorService shutdownService, final long gracePeriod, final TimeUnit timeUnit)
|
| Modifier and Type | Method and Description |
|---|---|
| private ShutdownContext | createContext(final Map<ShutdownContext, GracefulShutdownListener> contexts, final GracefulShutdownListener listener, final CountDownLatch shutdownLatch)
|
| public void |
| gracePeriod | back to summary |
|---|---|
| private final long gracePeriod | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| shutdownListeners | back to summary |
|---|---|
| private final Set<GracefulShutdownListener> shutdownListeners | |
| shutdownService | back to summary |
|---|---|
| private final ExecutorService shutdownService | |
| timeUnit | back to summary |
|---|---|
| private final TimeUnit timeUnit | |
| transport | back to summary |
|---|---|
| private final NIOTransport transport | |
| GracefulShutdownRunner | back to summary |
|---|---|
| pack-priv GracefulShutdownRunner(final NIOTransport transport, final Set<GracefulShutdownListener> shutdownListeners, final ExecutorService shutdownService, final long gracePeriod, final TimeUnit timeUnit) | |
| createContext | back to summary |
|---|---|
| private ShutdownContext createContext(final Map<ShutdownContext, GracefulShutdownListener> contexts, final GracefulShutdownListener listener, final CountDownLatch shutdownLatch) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |