Class SpaceInformation
java.lang.Object
org.apache.derby.impl.store.raw.data.SpaceInformation
- All Implemented Interfaces:
SpaceInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longprivate longprivate longprivate int -
Constructor Summary
ConstructorsConstructorDescriptionSpaceInformation(long numAllocatedPages, long numFreePages, long numUnfilledPages) -
Method Summary
Modifier and TypeMethodDescriptionlongGet the estimated number of allocated pageslongGet the estimated number of free pageslongGet the estimated number of unfilled pagesintGet the page sizevoidsetPageSize(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:
getNumAllocatedPagesin interfaceSpaceInfo
-
getNumFreePages
public long getNumFreePages()Get the estimated number of free pages- Specified by:
getNumFreePagesin interfaceSpaceInfo
-
getNumUnfilledPages
public long getNumUnfilledPages()Get the estimated number of unfilled pages- Specified by:
getNumUnfilledPagesin interfaceSpaceInfo
-
getPageSize
public int getPageSize()Description copied from interface:SpaceInfoGet the page size- Specified by:
getPageSizein interfaceSpaceInfo
-
setPageSize
public void setPageSize(int pageSize)
-