org.inria.myriads.snoozenode.configurator.monitoring
Class MonitoringSettings

java.lang.Object
  extended by org.inria.myriads.snoozenode.configurator.monitoring.MonitoringSettings

public final class MonitoringSettings
extends Object

Monitoring settings.

Author:
Eugen Feller

Constructor Summary
MonitoringSettings()
           
 
Method Summary
 int getInterval()
          Returns the monitoring interval.
 int getNumberOfMonitoringEntries()
          Returns the number of monitoring entries.
 MonitoringThresholds getThresholds()
          Returns the monitoring thresholds.
 int getTimeout()
          Returns the monitor timeout.
 void setInterval(int interval)
          Sets the monitoring interval.
 void setNumberOfMonitoringEntries(int numberOfMonitoringEntries)
          Sets the number of monitoring entries.
 void setThresholds(MonitoringThresholds thresholds)
          Sets the monitoring thresholds.
 void setTimeout(int timeout)
          Sets the monitoring timeout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoringSettings

public MonitoringSettings()
Method Detail

setNumberOfMonitoringEntries

public void setNumberOfMonitoringEntries(int numberOfMonitoringEntries)
Sets the number of monitoring entries.

Parameters:
numberOfMonitoringEntries - The aggregated history size

getNumberOfMonitoringEntries

public int getNumberOfMonitoringEntries()
Returns the number of monitoring entries.

Returns:
The number of monitoring entries

setTimeout

public void setTimeout(int timeout)
Sets the monitoring timeout.

Parameters:
timeout - The monitor timeout

getTimeout

public int getTimeout()
Returns the monitor timeout.

Returns:
The monitor timeout

setInterval

public void setInterval(int interval)
Sets the monitoring interval.

Parameters:
interval - The monitoring interval

getInterval

public int getInterval()
Returns the monitoring interval.

Returns:
The monitoring interval

setThresholds

public void setThresholds(MonitoringThresholds thresholds)
Sets the monitoring thresholds.

Parameters:
thresholds - The monitoring thresholds

getThresholds

public MonitoringThresholds getThresholds()
Returns the monitoring thresholds.

Returns:
The monitoring thresholds


Copyright © 2012. All Rights Reserved.