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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.nio.WriteOperation
getListener
-
-
-
-
Constructor Detail
-
FlushReadyWrite
public FlushReadyWrite(SocketChannelContext channelContext, java.nio.ByteBuffer[] buffers, java.util.function.BiConsumer<java.lang.Void,java.lang.Exception> listener)
-
-
Method Detail
-
getChannel
public SocketChannelContext getChannel()
- Specified by:
getChannelin interfaceWriteOperation
-
getObject
public java.nio.ByteBuffer[] getObject()
- Specified by:
getObjectin interfaceWriteOperation
-
-