-
- All Known Subinterfaces:
ReadReadyHandler,WriteReadyHandler
- All Known Implementing Classes:
ReadReadyHandler.ChannelListenerHandler,TerminateHandler.ChannelListenerHandler,WriteReadyHandler.ChannelListenerHandler
public interface TerminateHandlerThe base ready handler type, which can forward termination requests as well as notifications of termination completion.- Author:
- David M. Lloyd
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTerminateHandler.ChannelListenerHandler<C extends java.nio.channels.Channel & CloseListenerSettable<C>>A terminate handler which calls a channel listener on termination notification.static classTerminateHandler.ReadyTaskA runnable task which invokes theterminated()method of the given handler.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidforceTermination()Force the front-end channel to close, in response to XNIO worker shutdown.voidterminated()Indicate that a previous shutdown request has successfully resulted in termination.
-