Package io.netty.channel
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 Modifier and Type Field Description private int
bufferSize
-
Constructor Summary
Constructors Constructor Description HandleImpl(int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
guess()
Similar toRecvByteBufAllocator.Handle.allocate(ByteBufAllocator)
except that it does not allocate anything but just tells the capacity.-
Methods inherited from class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
allocate, attemptedBytesRead, attemptedBytesRead, continueReading, continueReading, incMessagesRead, lastBytesRead, lastBytesRead, readComplete, reset, totalBytesRead
-
-
-
-
Method Detail
-
guess
public int guess()
Description copied from interface:RecvByteBufAllocator.Handle
Similar toRecvByteBufAllocator.Handle.allocate(ByteBufAllocator)
except that it does not allocate anything but just tells the capacity.
-
-