org.rhq.core.system
Class FileSystemInfo

java.lang.Object
  extended by org.rhq.core.system.FileSystemInfo

public class FileSystemInfo
extends Object

Information about a mounted file system.


Constructor Summary
FileSystemInfo(String mountPoint)
           
 
Method Summary
 org.hyperic.sigar.FileSystem getFileSystem()
          Provides with static information about the file system.
 org.hyperic.sigar.FileSystemUsage getFileSystemUsage()
          This returns the usage information on the file system.
 String getMountPoint()
           
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemInfo

public FileSystemInfo(String mountPoint)
Method Detail

refresh

public void refresh()

getMountPoint

public String getMountPoint()

getFileSystem

public org.hyperic.sigar.FileSystem getFileSystem()
Provides with static information about the file system.

Returns:
static file system information

getFileSystemUsage

public org.hyperic.sigar.FileSystemUsage getFileSystemUsage()
This returns the usage information on the file system. This may return null if the file system is not available (e.g when a "device not ready" error for CD-ROM drives occurs).

Returns:
file system usage data


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.