-
public interface PoolChunkMetric
Metrics for a chunk.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
chunkSize()
Return the size of the chunk in bytes, this is the maximum of bytes that can be served out of the chunk.int
freeBytes()
Return the number of free bytes in the chunk.int
pinnedBytes()
Return the number of pinned bytes in the chunk.int
usage()
Return the percentage of the current usage of the chunk.
-
-
-
Method Detail
-
usage
int usage()
Return the percentage of the current usage of the chunk.
-
chunkSize
int chunkSize()
Return the size of the chunk in bytes, this is the maximum of bytes that can be served out of the chunk.
-
freeBytes
int freeBytes()
Return the number of free bytes in the chunk.
-
pinnedBytes
int pinnedBytes()
Return the number of pinned bytes in the chunk.
-
-