public class FileDescriptorRatioGauge extends RatioGauge
RatioGauge.Ratio
Constructor and Description |
---|
FileDescriptorRatioGauge()
Creates a new gauge using the platform OS bean.
|
FileDescriptorRatioGauge(OperatingSystemMXBean os)
Creates a new gauge using the given OS bean.
|
Modifier and Type | Method and Description |
---|---|
protected RatioGauge.Ratio |
getRatio()
Returns the
RatioGauge.Ratio which is the gauge's current value. |
getValue
public FileDescriptorRatioGauge()
public FileDescriptorRatioGauge(OperatingSystemMXBean os)
os
- an OperatingSystemMXBean
protected RatioGauge.Ratio getRatio()
RatioGauge
RatioGauge.Ratio
which is the gauge's current value.getRatio
in class RatioGauge
RatioGauge.Ratio
which is the gauge's current valueCopyright © 2014. All Rights Reserved.