Package org.elasticsearch.nio
Interface WriteOperation
-
- All Known Implementing Classes:
FlushReadyWrite
public interface WriteOperationThis is a basic write operation that can be queued with a channel. The only requirements of a write operation is that is has a listener and a reference to its channel. The actual conversion of the write operation implementation to bytes will be performed by theNioChannelHandler.
-
-
Method Summary
Modifier and Type Method Description SocketChannelContextgetChannel()java.util.function.BiConsumer<java.lang.Void,java.lang.Exception>getListener()java.lang.ObjectgetObject()
-
-
-
Method Detail
-
getListener
java.util.function.BiConsumer<java.lang.Void,java.lang.Exception> getListener()
-
getChannel
SocketChannelContext getChannel()
-
getObject
java.lang.Object getObject()
-
-