Interface TimedBufferObserver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void flushBuffer​(io.netty.buffer.ByteBuf buffer, boolean syncRequested, 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)
    • Method Detail

      • flushBuffer

        void flushBuffer​(io.netty.buffer.ByteBuf buffer,
                         boolean syncRequested,
                         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.
      • getRemainingBytes

        int getRemainingBytes()
        Return the number of remaining bytes that still fit on the observer (file)