org.gridrm.client.utilities.sorma.monitoring.coreAttributes
Class Disk

java.lang.Object
  extended by org.gridrm.client.utilities.sorma.monitoring.coreAttributes.Disk

public class Disk
extends Object


Constructor Summary
Disk()
           
 
Method Summary
 void addFileSystem(FileSystem fileSystem)
           
 Long getCumulativeFreeDisk()
          Get a single value that describes the cumulative amount of free disk space at the resource.
 Long getCumulativeTotalDisk()
          Get a single value that describes the cumulative amount of total disk space at the resource across all accessible partitions.
 FileSystem[] getFileSystemDetails()
          Get details for the individual file systems provided by this resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Disk

public Disk()
Method Detail

addFileSystem

public void addFileSystem(FileSystem fileSystem)

getFileSystemDetails

public FileSystem[] getFileSystemDetails()
Get details for the individual file systems provided by this resource

Returns:

getCumulativeTotalDisk

public Long getCumulativeTotalDisk()
Get a single value that describes the cumulative amount of total disk space at the resource across all accessible partitions.

Returns:
Long: Cumulative disk space across filesystems, or null if the value could not be obtained

getCumulativeFreeDisk

public Long getCumulativeFreeDisk()
Get a single value that describes the cumulative amount of free disk space at the resource.



Copyright © 2007 Garry Smith. All Rights Reserved.