com.addc.server.commons.monitored.MonitorConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of addc-svr-monitor Show documentation
Show all versions of addc-svr-monitor Show documentation
Supplies the classes required for monitoring a server with the Amentet Monitoring Service
package com.addc.server.commons.monitored;
/**
* The MonitorConstants class supplies constants used by the Amentet Monitoring
* infrastructure.
*/
public final class MonitorConstants {
/**
* The lease time in seconds for objects registering with the Amentet Monitoring Service
*/
public static final String MONITOR_LEASETIME= "monitor.object.leasetime.seconds";
/**
* Property for the number of connection failures before an an alert is raised
*/
public static final String MONITOR_ALERTONFAILCOUNT= "monitor.object.alert.onFailCount";
/**
* Default lease time in seconds (90)
*/
public static final int DEF_LEASETIME= 90;
/**
* Default number of connection failures before an an alert is raised (10)
*/
public static final int DEF_ALERTONFAILCOUNT= 10;
private MonitorConstants() {
}
}