Class NoOpShutdownHook
java.lang.Object
com.couchbase.client.core.env.resources.NoOpShutdownHook
- All Implemented Interfaces:
ShutdownHook
public class NoOpShutdownHook extends Object implements ShutdownHook
ShutdownHook
hook that does nothing and returns true.- Since:
- 2.2
- Author:
- Simon Baslé
-
Constructor Summary
Constructors Constructor Description NoOpShutdownHook()
-
Method Summary
Modifier and Type Method Description boolean
isShutdown()
rx.Observable<Boolean>
shutdown()
-
Constructor Details
-
NoOpShutdownHook
public NoOpShutdownHook()
-
-
Method Details
-
shutdown
- Specified by:
shutdown
in interfaceShutdownHook
-
isShutdown
public boolean isShutdown()- Specified by:
isShutdown
in interfaceShutdownHook
-