Interface TimedBufferObserver
-
- All Known Implementing Classes:
AbstractSequentialFile.LocalBufferObserver
public interface TimedBufferObserver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidflushBuffer(io.netty.buffer.ByteBuf buffer, boolean syncRequested, List<IOCallback> callbacks)It flushesByteBuf.readableBytes()ofbufferwithout changing its reader/writer indexes.
It just usebuffertemporary: it can be reused by the caller right after this call.intgetRemainingBytes()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, List<IOCallback> callbacks)It flushesByteBuf.readableBytes()ofbufferwithout changing its reader/writer indexes.
It just usebuffertemporary: 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)
-
-