Package io.netty.buffer
Interface PoolSubpageMetric
-
public interface PoolSubpageMetric
Metrics for a sub-page.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
elementSize()
Return the size (in bytes) of the elements that will be allocated.int
maxNumElements()
Return the number of maximal elements that can be allocated out of the sub-page.int
numAvailable()
Return the number of available elements to be allocated.int
pageSize()
Return the page size (in bytes) of this page.
-
-
-
Method Detail
-
maxNumElements
int maxNumElements()
Return the number of maximal elements that can be allocated out of the sub-page.
-
numAvailable
int numAvailable()
Return the number of available elements to be allocated.
-
elementSize
int elementSize()
Return the size (in bytes) of the elements that will be allocated.
-
pageSize
int pageSize()
Return the page size (in bytes) of this page.
-
-