Class FixedRecvByteBufAllocator.HandleImpl
java.lang.Object
io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
io.netty.channel.FixedRecvByteBufAllocator.HandleImpl
- All Implemented Interfaces:
RecvByteBufAllocator.ExtendedHandle, RecvByteBufAllocator.Handle
- Enclosing class:
FixedRecvByteBufAllocator
private final class FixedRecvByteBufAllocator.HandleImpl
extends DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintguess()Similar toRecvByteBufAllocator.Handle.allocate(ByteBufAllocator)except that it does not allocate anything but just tells the capacity.
-
Field Details
-
bufferSize
private final int bufferSize
-
-
Constructor Details
-
HandleImpl
HandleImpl(int bufferSize)
-
-
Method Details
-
guess
public int guess()Description copied from interface:RecvByteBufAllocator.HandleSimilar toRecvByteBufAllocator.Handle.allocate(ByteBufAllocator)except that it does not allocate anything but just tells the capacity.
-