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 ShutdownHook
public boolean isShutdown()
isShutdown
in interface ShutdownHook
Copyright © 2017 Couchbase, Inc.. All rights reserved.