public interface TimedBufferObserver
| Modifier and Type | Method and Description |
|---|---|
void |
flushBuffer(io.netty.buffer.ByteBuf buffer,
boolean syncRequested,
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)
|
void flushBuffer(io.netty.buffer.ByteBuf buffer,
boolean syncRequested,
List<IOCallback> callbacks)
ByteBuf.readableBytes() of buffer without changing its reader/writer indexes.buffer temporary: it can be reused by the caller right after this call.int getRemainingBytes()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.