public class FixedRecvByteBufAllocator extends Object implements RecvByteBufAllocator
RecvByteBufAllocator
that always yields the same buffer
size prediction. This predictor ignores the feed back from the I/O thread.RecvByteBufAllocator.Handle
Constructor and Description |
---|
FixedRecvByteBufAllocator(int bufferSize)
Creates a new predictor that always returns the same prediction of
the specified buffer size.
|
public FixedRecvByteBufAllocator(int bufferSize)
public RecvByteBufAllocator.Handle newHandle()
RecvByteBufAllocator
newHandle
in interface RecvByteBufAllocator
Copyright © 2008–2015 The Netty Project. All rights reserved.