Package org.elasticsearch.nio
Interface WriteOperation
- All Known Implementing Classes:
FlushReadyWrite
public interface WriteOperation
This 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 the
NioChannelHandler.-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getListener
BiConsumer<Void,Exception> getListener() -
getChannel
SocketChannelContext getChannel() -
getObject
Object getObject()
-