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() |
public rx.Observable<Boolean> shutdown()
shutdown in interface ShutdownHookpublic boolean isShutdown()
isShutdown in interface ShutdownHookCopyright © 2017 Couchbase, Inc.. All rights reserved.