18 lines
430 B
Java
18 lines
430 B
Java
|
package io.netty.buffer.api.pool;
|
||
|
|
||
|
/**
|
||
|
* Metrics for a list of chunks.
|
||
|
*/
|
||
|
public interface PoolChunkListMetric extends Iterable<PoolChunkMetric> {
|
||
|
|
||
|
/**
|
||
|
* Return the minimum usage of the chunk list before which chunks are promoted to the previous list.
|
||
|
*/
|
||
|
int minUsage();
|
||
|
|
||
|
/**
|
||
|
* Return the maximum usage of the chunk list after which chunks are promoted to the next list.
|
||
|
*/
|
||
|
int maxUsage();
|
||
|
}
|