Class AbstractSequentialFile.LocalBufferObserver

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected LocalBufferObserver()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void flushBuffer​(io.netty.buffer.ByteBuf byteBuf, boolean requestedSync, java.util.List<IOCallback> callbacks)
      It flushes ByteBuf.readableBytes() of buffer without changing its reader/writer indexes.
      It just use buffer temporary: it can be reused by the caller right after this call.
      int getRemainingBytes()
      Return the number of remaining bytes that still fit on the observer (file)
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LocalBufferObserver

        protected LocalBufferObserver()
    • Method Detail

      • flushBuffer

        public void flushBuffer​(io.netty.buffer.ByteBuf byteBuf,
                                boolean requestedSync,
                                java.util.List<IOCallback> callbacks)
        Description copied from interface: TimedBufferObserver
        It flushes ByteBuf.readableBytes() of buffer without changing its reader/writer indexes.
        It just use buffer temporary: it can be reused by the caller right after this call.
        Specified by:
        flushBuffer in interface TimedBufferObserver
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object