public class NettyShutdownHook extends Object implements ShutdownHook
ShutdownHook hook that attempts to terminate Netty threads gracefully. It won’t report a failure if said threads cannot be terminated right away though.
| Constructor and Description |
|---|
NettyShutdownHook() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isShutdown() |
Observable<Boolean> |
shutdown() |
public Observable<Boolean> shutdown()
shutdown in interface ShutdownHookpublic boolean isShutdown()
isShutdown in interface ShutdownHookCopyright © 2016 Couchbase, Inc.. All rights reserved.