Interface ShutdownHook
- All Known Implementing Classes:
CoreScheduler
,IoPoolShutdownHook
,NettyShutdownHook
,NoOpShutdownHook
public interface ShutdownHook
Interface to describe shutdown behavior for a resource that
can be asynchronously shut down.
- Since:
- 2.2
- Author:
- Simon Baslé
-
Method Summary
Modifier and Type Method Description boolean
isShutdown()
rx.Observable<Boolean>
shutdown()
-
Method Details
-
shutdown
rx.Observable<Boolean> shutdown() -
isShutdown
boolean isShutdown()
-