public class DiskSpaceMonitor extends CountMonitor
CountMonitor.CheckSignname| Constructor and Description |
|---|
DiskSpaceMonitor(String partition,
Integer countThreshhold,
TimeEntity timeEntity) |
DiskSpaceMonitor(String partition,
String name,
Integer threshhold,
TimeEntity timeEntity) |
| Modifier and Type | Method and Description |
|---|---|
Number |
getCount() |
monitordisable, enable, getHealthStatus, getName, getRunInterval, hasValidUpdatedTime, isDisabled, runpublic DiskSpaceMonitor(String partition, Integer countThreshhold, TimeEntity timeEntity)
partition - partition to be monitoredcountThreshhold - maximum freespace of partition, below which, the monitor will mark itself as unhealthytimeEntity - how often the CountMonitor.monitor() check needs to be executedpublic DiskSpaceMonitor(String partition, String name, Integer threshhold, TimeEntity timeEntity)
partition - partition to be monitoredname - name of monitorthreshhold - maximum freespace of partition, below which, the monitor will mark itself as unhealthytimeEntity - how often the CountMonitor.monitor() check needs to be executedpublic Number getCount()
getCount in class CountMonitorCopyright © 2015–2022. All rights reserved.