public class FixedRecvByteBufAllocator extends java.lang.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| 构造器和说明 |
|---|
FixedRecvByteBufAllocator(int bufferSize)
Creates a new predictor that always returns the same prediction of
the specified buffer size.
|
| 限定符和类型 | 方法和说明 |
|---|---|
RecvByteBufAllocator.Handle |
newHandle()
Creates a new handle.
|
public FixedRecvByteBufAllocator(int bufferSize)
public RecvByteBufAllocator.Handle newHandle()
RecvByteBufAllocatornewHandle 在接口中 RecvByteBufAllocator