Class DefaultMonitoring
- java.lang.Object
-
- com.yahoo.vespa.model.admin.monitoring.DefaultMonitoring
-
- All Implemented Interfaces:
Monitoring
public class DefaultMonitoring extends Object implements Monitoring
Monitoring service properties- Author:
- hmusum
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_MONITORING_INTERVAL
-
Constructor Summary
Constructors Constructor Description DefaultMonitoring()
DefaultMonitoring(String clustername, Optional<Integer> interval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClustername()
Integer
getInterval()
Integer
getIntervalSeconds()
-
-
-
Field Detail
-
DEFAULT_MONITORING_INTERVAL
public static final int DEFAULT_MONITORING_INTERVAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInterval
public Integer getInterval()
- Specified by:
getInterval
in interfaceMonitoring
- Returns:
- Snapshot interval in minutes
-
getIntervalSeconds
public Integer getIntervalSeconds()
- Specified by:
getIntervalSeconds
in interfaceMonitoring
- Returns:
- Snapshot interval in seconds.
-
getClustername
public String getClustername()
- Specified by:
getClustername
in interfaceMonitoring
- Returns:
- the monitoring cluster name
-
-