public abstract class CapacityAllocationPolicy
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static CapacityAllocationPolicy |
DEFAULT |
static CapacityAllocationPolicy |
FIVE_PERCENT_FOR_GROWTH |
static CapacityAllocationPolicy |
FIXED |
static CapacityAllocationPolicy |
REASONABLY_SMALL |
Constructor and Description |
---|
CapacityAllocationPolicy() |
Modifier and Type | Method and Description |
---|---|
abstract int |
calculateCapacity(int requiredLength) |
public static final CapacityAllocationPolicy FIXED
public static final CapacityAllocationPolicy FIVE_PERCENT_FOR_GROWTH
public static final CapacityAllocationPolicy DEFAULT
public static final CapacityAllocationPolicy REASONABLY_SMALL