-
public interface PoolChunkMetricMetrics for a chunk.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intchunkSize()Return the size of the chunk in bytes, this is the maximum of bytes that can be served out of the chunk.intfreeBytes()Return the number of free bytes in the chunk.intpinnedBytes()Return the number of pinned bytes in the chunk.intusage()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.
-
-