public class AdaptiveBufAllocator extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
AdaptiveBufAllocator.Handle |
| 限定符和类型 | 字段和说明 |
|---|---|
static AdaptiveBufAllocator |
DEFAULT |
| 构造器和说明 |
|---|
AdaptiveBufAllocator(int minimum,
int initial,
int maximum)
Creates a new predictor with the specified parameters.
|
public static final AdaptiveBufAllocator DEFAULT
public AdaptiveBufAllocator(int minimum,
int initial,
int maximum)
minimum - the inclusive lower bound of the expected buffer sizeinitial - the initial buffer size when no feed back was receivedmaximum - the inclusive upper bound of the expected buffer sizepublic AdaptiveBufAllocator.Handle newHandle()
Copyright © 2021. All rights reserved.