Top Description Fields Constructors Methods
org.apache.derby.impl.store.raw.data

public Class SpaceInformation

extends Object
implements SpaceInfo
Class Inheritance
All Implemented Interfaces
org.apache.derby.iapi.store.access.SpaceInfo
Imports
org.apache.derby.iapi.store.access.SpaceInfo

Manage the result information from a single call to ConglomerateController.getSpaceInfo().

Field Summary

Modifier and TypeField and Description
private long
private long
private long
private int

Constructor Summary

AccessConstructor and Description
public
SpaceInformation(long numAllocatedPages, long numFreePages, long numUnfilledPages)

Method Summary

Modifier and TypeMethod and Description
public long
getNumAllocatedPages()

Implements org.apache.derby.iapi.store.access.SpaceInfo.getNumAllocatedPages.

Get the estimated number of allocated pages

public long
getNumFreePages()

Implements org.apache.derby.iapi.store.access.SpaceInfo.getNumFreePages.

Get the estimated number of free pages

public long
getNumUnfilledPages()

Implements org.apache.derby.iapi.store.access.SpaceInfo.getNumUnfilledPages.

Get the estimated number of unfilled pages

public int
public void
setPageSize(int pageSize)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

numAllocatedPagesback to summary
private long numAllocatedPages
numFreePagesback to summary
private long numFreePages
numUnfilledPagesback to summary
private long numUnfilledPages
pageSizeback to summary
private int pageSize

Constructor Detail

SpaceInformationback to summary
public SpaceInformation(long numAllocatedPages, long numFreePages, long numUnfilledPages)

Method Detail

getNumAllocatedPagesback to summary
public long getNumAllocatedPages()

Implements org.apache.derby.iapi.store.access.SpaceInfo.getNumAllocatedPages.

Get the estimated number of allocated pages

getNumFreePagesback to summary
public long getNumFreePages()

Implements org.apache.derby.iapi.store.access.SpaceInfo.getNumFreePages.

Get the estimated number of free pages

getNumUnfilledPagesback to summary
public long getNumUnfilledPages()

Implements org.apache.derby.iapi.store.access.SpaceInfo.getNumUnfilledPages.

Get the estimated number of unfilled pages

getPageSizeback to summary
public int getPageSize()

Implements org.apache.derby.iapi.store.access.SpaceInfo.getPageSize.

Doc from org.apache.derby.iapi.store.access.SpaceInfo.getPageSize.

Get the page size

setPageSizeback to summary
public void setPageSize(int pageSize)