public class HealthMonitor extends Object
MetricsRegistry
to provide some clues about the internal Hazelcast state.
Health monitor can be configured with system properties.
GroupProperty.HEALTH_MONITORING_LEVEL
This property can be one of the following:
HealthMonitorLevel.NOISY
=> does not check threshold, always prints.
HealthMonitorLevel.SILENT
=> prints only if metrics are above threshold (default).
HealthMonitorLevel.OFF
=> does not print anything.
GroupProperty.HEALTH_MONITORING_DELAY_SECONDS
Time between printing two logs of health monitor. Default values is 30 seconds.
GroupProperty.HEALTH_MONITORING_THRESHOLD_MEMORY_PERCENTAGE
Threshold: Percentage of max memory currently in use
GroupProperty.HEALTH_MONITORING_THRESHOLD_CPU_PERCENTAGE
Threshold: CPU system/process loadConstructor and Description |
---|
HealthMonitor(Node node) |
public HealthMonitor(Node node)
public HealthMonitor start()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.