Interface PoolSubpageMetric

All Known Implementing Classes:
PoolSubpage

public interface PoolSubpageMetric
Metrics for a sub-page.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return the size (in bytes) of the elements that will be allocated.
    int
    Return the number of maximal elements that can be allocated out of the sub-page.
    int
    Return the number of available elements to be allocated.
    int
    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.