com.github.fedorchuck.developers_notification.configuration
Class Monitoring
java.lang.Object
com.github.fedorchuck.developers_notification.configuration.Monitoring
public class Monitoring
- extends java.lang.Object
Part of configuration for this library.
Author: Volodymyr Fedorchuk
- Since:
- 0.2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Monitoring
public Monitoring()
getPeriod
public java.lang.Long getPeriod()
getUnit
public java.util.concurrent.TimeUnit getUnit()
- Return TimeUnit
- Returns:
- TimeUnit
- Throws:
java.lang.IllegalArgumentException
- if unable to map string to TimeUnit
- Since:
- 0.2.0
getMaxRam
public java.lang.Integer getMaxRam()
getMaxDisk
public java.lang.Integer getMaxDisk()
getDiskConsumptionRate
public java.lang.Integer getDiskConsumptionRate()