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 printsHealthMonitorLevel.SILENT
=> prints only if metrics are above threshold (default)HealthMonitorLevel.OFF
=> does not print anythingGroupProperty.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 useGroupProperty.HEALTH_MONITORING_THRESHOLD_CPU_PERCENTAGE
Threshold: CPU system/process loadConstructor and Description |
---|
HealthMonitor(Node node) |
public HealthMonitor(Node node)
public HealthMonitor start()
public void stop()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.