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