All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.addc.server.commons.monitored.MonitorConstants Maven / Gradle / Ivy

Go to download

Supplies the classes required for monitoring a server with the Amentet Monitoring Service

There is a newer version: 2.9
Show newest version
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() {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy