Package io.netty.buffer
Interface PoolSubpageMetric
-
public interface PoolSubpageMetricMetrics for a sub-page.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intelementSize()Return the size (in bytes) of the elements that will be allocated.intmaxNumElements()Return the number of maximal elements that can be allocated out of the sub-page.intnumAvailable()Return the number of available elements to be allocated.intpageSize()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.
-
-