| Modifier and Type | Field and Description |
|---|---|
| private final PoolArena | |
| private static final Iterator | |
| private final int | |
| private final int | |
| private PoolChunk | |
| private final int | |
| private final int | |
| private final int | |
| private final PoolChunkList | |
| private PoolChunkList |
| Access | Constructor and Description |
|---|---|
| pack-priv | PoolChunkList(PoolArena<T> arena, PoolChunkList<T> nextList, int minUsage, int maxUsage, int chunkSize)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv boolean | |
| private static int | calculateMaxCapacity(int minUsage, int chunkSize)
Calculates the maximum capacity of a buffer that will ever be possible to allocate out of the |
| pack-priv void | |
| pack-priv boolean | |
| public Iterator | |
| public int | maxUsage()
Implements io. |
| public int | minUsage()
Implements io. |
| private static int | |
| private boolean | |
| private boolean | move0(PoolChunk<T> chunk)
Moves the |
| pack-priv void | |
| private void | |
| public String |
| arena | back to summary |
|---|---|
| private final PoolArena<T> arena | |
| EMPTY_METRICS | back to summary |
|---|---|
| private static final Iterator<PoolChunkMetric> EMPTY_METRICS | |
| freeMaxThreshold | back to summary |
|---|---|
| private final int freeMaxThreshold | |
| freeMinThreshold | back to summary |
|---|---|
| private final int freeMinThreshold | |
| head | back to summary |
|---|---|
| private PoolChunk<T> head | |
| maxCapacity | back to summary |
|---|---|
| private final int maxCapacity | |
| maxUsage | back to summary |
|---|---|
| private final int maxUsage | |
| minUsage | back to summary |
|---|---|
| private final int minUsage | |
| nextList | back to summary |
|---|---|
| private final PoolChunkList<T> nextList | |
| prevList | back to summary |
|---|---|
| private PoolChunkList<T> prevList | |
| PoolChunkList | back to summary |
|---|---|
| pack-priv PoolChunkList(PoolArena<T> arena, PoolChunkList<T> nextList, int minUsage, int maxUsage, int chunkSize) | |
| add | back to summary |
|---|---|
| pack-priv void add(PoolChunk<T> chunk) | |
| add0 | back to summary |
|---|---|
| pack-priv void add0(PoolChunk<T> chunk) Adds the | |
| allocate | back to summary |
|---|---|
| pack-priv boolean allocate(PooledByteBuf<T> buf, int reqCapacity, int sizeIdx, PoolThreadCache threadCache) | |
| calculateMaxCapacity | back to summary |
|---|---|
| private static int calculateMaxCapacity(int minUsage, int chunkSize) Calculates the maximum capacity of a buffer that will ever be possible to allocate out of the | |
| destroy | back to summary |
|---|---|
| pack-priv void destroy(PoolArena<T> arena) | |
| free | back to summary |
|---|---|
| pack-priv boolean free(PoolChunk<T> chunk, long handle, int normCapacity, ByteBuffer nioBuffer) | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type
| |
| maxUsage | back to summary |
|---|---|
| public int maxUsage() Implements io. Doc from io. Return the maximum usage of the chunk list after which chunks are promoted to the next list.
| |
| minUsage | back to summary |
|---|---|
| public int minUsage() Implements io. Doc from io. Return the minimum usage of the chunk list before which chunks are promoted to the previous list.
| |
| minUsage0 | back to summary |
|---|---|
| private static int minUsage0(int value) | |
| move | back to summary |
|---|---|
| private boolean move(PoolChunk<T> chunk) | |
| move0 | back to summary |
|---|---|
| private boolean move0(PoolChunk<T> chunk) Moves the | |
| prevList | back to summary |
|---|---|
| pack-priv void prevList(PoolChunkList<T> prevList) | |
| remove | back to summary |
|---|---|
| private void remove(PoolChunk<T> cur) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |