com.palantir.opensource.sysmon.linux
Class LinuxFileSystem
java.lang.Object
com.palantir.opensource.sysmon.linux.LinuxFileSystem
- All Implemented Interfaces:
- LinuxFileSystemMBean
public class LinuxFileSystem
- extends Object
- implements LinuxFileSystemMBean
Data container and JMX MBean implementation for file system storage measurements used by LinuxDiskspaceJMXWrapper
.
- See Also:
- df(1) for detailed information on each measurement
Constructor Summary |
LinuxFileSystem(String objectName,
String filesystemName,
String filesytemType,
String mountPoint,
Long totalMegabytes,
Long usedMegabytes,
Long availableMegabytes,
Byte percentageSpaceUsed,
Long totalInodes,
Long usedInodes,
Long availableInodes,
Byte percentageInodesUsed)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objectName
public final String objectName
- JMX path for this object.
LinuxFileSystem
public LinuxFileSystem(String objectName,
String filesystemName,
String filesytemType,
String mountPoint,
Long totalMegabytes,
Long usedMegabytes,
Long availableMegabytes,
Byte percentageSpaceUsed,
Long totalInodes,
Long usedInodes,
Long availableInodes,
Byte percentageInodesUsed)
getDevicName
public String getDevicName()
- Specified by:
getDevicName
in interface LinuxFileSystemMBean
getFilesytemType
public String getFilesytemType()
- Specified by:
getFilesytemType
in interface LinuxFileSystemMBean
getMountPoint
public String getMountPoint()
- Specified by:
getMountPoint
in interface LinuxFileSystemMBean
getTotalMegabytes
public Long getTotalMegabytes()
- Specified by:
getTotalMegabytes
in interface LinuxFileSystemMBean
getUsedMegabytes
public Long getUsedMegabytes()
- Specified by:
getUsedMegabytes
in interface LinuxFileSystemMBean
getAvailableMegabytes
public Long getAvailableMegabytes()
- Specified by:
getAvailableMegabytes
in interface LinuxFileSystemMBean
getPercentageSpaceUsed
public Byte getPercentageSpaceUsed()
- Specified by:
getPercentageSpaceUsed
in interface LinuxFileSystemMBean
getTotalInodes
public Long getTotalInodes()
- Specified by:
getTotalInodes
in interface LinuxFileSystemMBean
getUsedInodes
public Long getUsedInodes()
- Specified by:
getUsedInodes
in interface LinuxFileSystemMBean
getAvailableInodes
public Long getAvailableInodes()
- Specified by:
getAvailableInodes
in interface LinuxFileSystemMBean
getPercentageInodesUsed
public Byte getPercentageInodesUsed()
- Specified by:
getPercentageInodesUsed
in interface LinuxFileSystemMBean
takeValues
public void takeValues(LinuxFileSystemMBean dataBean)
throws LinuxMonitoringException
- Throws:
LinuxMonitoringException
Copyright © 2012 Palantir Technologies. All Rights Reserved.