Package org.elasticsearch.nio
Class FlushReadyWrite
java.lang.Object
org.elasticsearch.nio.FlushOperation
org.elasticsearch.nio.FlushReadyWrite
- All Implemented Interfaces:
WriteOperation
public class FlushReadyWrite extends FlushOperation implements WriteOperation
-
Constructor Summary
Constructors Constructor Description FlushReadyWrite(SocketChannelContext channelContext, java.nio.ByteBuffer[] buffers, java.util.function.BiConsumer<java.lang.Void,java.lang.Exception> listener) -
Method Summary
Modifier and Type Method Description SocketChannelContextgetChannel()java.nio.ByteBuffer[]getObject()Methods inherited from class org.elasticsearch.nio.FlushOperation
getBuffersToWrite, getBuffersToWrite, getListener, incrementIndex, isFullyFlushed
-
Constructor Details
-
FlushReadyWrite
public FlushReadyWrite(SocketChannelContext channelContext, java.nio.ByteBuffer[] buffers, java.util.function.BiConsumer<java.lang.Void,java.lang.Exception> listener)
-
-
Method Details
-
getChannel
- Specified by:
getChannelin interfaceWriteOperation
-
getObject
public java.nio.ByteBuffer[] getObject()- Specified by:
getObjectin interfaceWriteOperation
-