Class SpaceInformation

java.lang.Object
org.apache.derby.impl.store.raw.data.SpaceInformation
All Implemented Interfaces:
SpaceInfo

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

  • Field Details

    • numAllocatedPages

      private long numAllocatedPages
    • numFreePages

      private long numFreePages
    • numUnfilledPages

      private long numUnfilledPages
    • pageSize

      private int pageSize
  • Constructor Details

    • SpaceInformation

      public SpaceInformation(long numAllocatedPages, long numFreePages, long numUnfilledPages)
  • Method Details

    • 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)