org.rhq.core.system
Class FileSystemInfo
java.lang.Object
org.rhq.core.system.FileSystemInfo
public class FileSystemInfo
- extends Object
Information about a mounted file system.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSystemInfo
public FileSystemInfo(String mountPoint)
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 RHQ Project Advisory Board (Red Hat, Inc. and Hyperic, Inc.). All Rights Reserved.