com.github.fedorchuck.developers_notification.configuration
Class Monitoring

java.lang.Object
  extended by 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

Constructor Summary
Monitoring()
           
 
Method Summary
 java.lang.Integer getDiskConsumptionRate()
           
 java.lang.Integer getMaxDisk()
           
 java.lang.Integer getMaxRam()
           
 java.lang.Long getPeriod()
           
 java.util.concurrent.TimeUnit getUnit()
          Return TimeUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Monitoring

public Monitoring()
Method Detail

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()