Class SpaceInformation
java.lang.Object
org.apache.derby.impl.store.raw.data.SpaceInformation
- All Implemented Interfaces:
SpaceInfo
Manage the result information from a single call to
ConglomerateController.getSpaceInfo().
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long
private long
private long
private int
-
Constructor Summary
ConstructorsConstructorDescriptionSpaceInformation
(long numAllocatedPages, long numFreePages, long numUnfilledPages) -
Method Summary
Modifier and TypeMethodDescriptionlong
Get the estimated number of allocated pageslong
Get the estimated number of free pageslong
Get the estimated number of unfilled pagesint
Get the page sizevoid
setPageSize
(int pageSize)
-
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 interfaceSpaceInfo
-
getNumFreePages
public long getNumFreePages()Get the estimated number of free pages- Specified by:
getNumFreePages
in interfaceSpaceInfo
-
getNumUnfilledPages
public long getNumUnfilledPages()Get the estimated number of unfilled pages- Specified by:
getNumUnfilledPages
in interfaceSpaceInfo
-
getPageSize
public int getPageSize()Description copied from interface:SpaceInfo
Get the page size- Specified by:
getPageSize
in interfaceSpaceInfo
-
setPageSize
public void setPageSize(int pageSize)
-