org.apache.derby.impl.store.raw.data
Class SpaceInformation

java.lang.Object
  extended by org.apache.derby.impl.store.raw.data.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 Summary
private  long numAllocatedPages
           
private  long numFreePages
           
private  long numUnfilledPages
           
private  int pageSize
           
 
Constructor Summary
SpaceInformation(long numAllocatedPages, long numFreePages, long numUnfilledPages)
           
 
Method Summary
 long getNumAllocatedPages()
          Get the estimated number of allocated pages
 long getNumFreePages()
          Get the estimated number of free pages
 long getNumUnfilledPages()
          Get the estimated number of unfilled pages
 int getPageSize()
          Get the page size
 void setPageSize(int pageSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.