org.biffle.cliff.pearl
Class StorageInfo

java.lang.Object
  |
  +--org.biffle.cliff.pearl.StorageInfo

public class StorageInfo
extends java.lang.Object

Provides details on a storage device within the Pearl device. In the current Pearl device implementations, getFileCount() and getHighestFID() always return zero. This information must be accessed in other ways.


Constructor Summary
protected StorageInfo(int fileCount, int highFID, long totalSpace, long availableSpace)
           
 
Method Summary
 long getAvailableSpace()
          Returns the available space on the storage device, in bytes.
 int getFileCount()
          Returns the number of files available on the storage device.
 int getHighestFID()
          Returns the highest FID currently in use on the storage device.
 long getTotalSpace()
          Returns the total space on the storage device, in bytes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageInfo

protected StorageInfo(int fileCount,
                      int highFID,
                      long totalSpace,
                      long availableSpace)
Method Detail

getFileCount

public int getFileCount()
Returns the number of files available on the storage device. Note that in current Pearl device implementations, this is always zero.


getHighestFID

public int getHighestFID()
Returns the highest FID currently in use on the storage device. Note that in current Pearl device implementations, this is always zero.


getTotalSpace

public long getTotalSpace()
Returns the total space on the storage device, in bytes.


getAvailableSpace

public long getAvailableSpace()
Returns the available space on the storage device, in bytes.