Package io.netty.buffer
Interface PoolSubpageMetric
public interface PoolSubpageMetric
Metrics for a sub-page.
-
Method Summary
Modifier and TypeMethodDescriptionintReturn the size (in bytes) of the elements that will be allocated.intReturn the number of maximal elements that can be allocated out of the sub-page.intReturn the number of available elements to be allocated.intpageSize()Return the page size (in bytes) of this page.
-
Method Details
-
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.
-