Class SpaceInformation

  • All Implemented Interfaces:
    SpaceInfo

    public class SpaceInformation
    extends java.lang.Object
    implements SpaceInfo
    Manage the result information from a single call to ConglomerateController.getSpaceInfo().

    • Field Detail

      • numAllocatedPages

        private long numAllocatedPages
      • numFreePages

        private long numFreePages
      • numUnfilledPages

        private long numUnfilledPages
      • pageSize

        private int pageSize
    • Constructor Detail

      • SpaceInformation

        public SpaceInformation​(long numAllocatedPages,
                                long numFreePages,
                                long numUnfilledPages)
    • Method Detail

      • getNumAllocatedPages

        public long getNumAllocatedPages()
        Get the estimated number of allocated pages
        Specified by:
        getNumAllocatedPages in interface SpaceInfo
      • getNumFreePages

        public long getNumFreePages()
        Get the estimated number of free pages
        Specified by:
        getNumFreePages in interface SpaceInfo
      • getNumUnfilledPages

        public long getNumUnfilledPages()
        Get the estimated number of unfilled pages
        Specified by:
        getNumUnfilledPages in interface SpaceInfo
      • getPageSize

        public int getPageSize()
        Description copied from interface: SpaceInfo
        Get the page size
        Specified by:
        getPageSize in interface SpaceInfo
      • setPageSize

        public void setPageSize​(int pageSize)