netty-incubator-buffer-api/src/main/java/io/netty/buffer/api/pool/PoolChunkListMetric.java

18 lines
430 B
Java
Raw Normal View History

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();
}