private final class FixedRecvByteBufAllocator.HandleImpl extends DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
Modifier and Type | Field and Description |
---|---|
private int |
bufferSize |
Constructor and Description |
---|
HandleImpl(int bufferSize) |
Modifier and Type | Method and Description |
---|---|
int |
guess()
Similar to
RecvByteBufAllocator.Handle.allocate(ByteBufAllocator) except that it does not allocate anything but just tells the
capacity. |
allocate, attemptedBytesRead, attemptedBytesRead, continueReading, continueReading, incMessagesRead, lastBytesRead, lastBytesRead, readComplete, reset, totalBytesRead
public int guess()
RecvByteBufAllocator.Handle
RecvByteBufAllocator.Handle.allocate(ByteBufAllocator)
except that it does not allocate anything but just tells the
capacity.