Uses of Interface
com.loomcache.server.cluster.ClusterHealthMonitor.HealthStatus
Packages that use ClusterHealthMonitor.HealthStatus
-
Uses of ClusterHealthMonitor.HealthStatus in com.loomcache.server.cluster
Classes in com.loomcache.server.cluster that implement ClusterHealthMonitor.HealthStatusModifier and TypeClassDescriptionstatic final recordNode is degraded but operational.static classNode is healthy.static final recordNode is unhealthy and may be unavailable.Methods in com.loomcache.server.cluster that return ClusterHealthMonitor.HealthStatusModifier and TypeMethodDescriptionClusterHealthMonitor.ClusterHealth.overallStatus()Returns the value of theoverallStatusrecord component.ClusterHealthMonitor.HealthSnapshot.status()Returns the value of thestatusrecord component.ClusterHealthMonitor.NodeHealth.status()Returns the value of thestatusrecord component.Methods in com.loomcache.server.cluster that return types with arguments of type ClusterHealthMonitor.HealthStatusModifier and TypeMethodDescriptionClusterHealthMonitor.getHealthChecks()Get results of all health checks (including custom).Method parameters in com.loomcache.server.cluster with type arguments of type ClusterHealthMonitor.HealthStatusModifier and TypeMethodDescriptionvoidClusterHealthMonitor.addHealthCheck(String name, Supplier<ClusterHealthMonitor.HealthStatus> check) Register a custom health check.Constructors in com.loomcache.server.cluster with parameters of type ClusterHealthMonitor.HealthStatusModifierConstructorDescriptionClusterHealth(ClusterHealthMonitor.HealthStatus overallStatus, Map<String, ClusterHealthMonitor.NodeHealth> nodes, boolean quorumReached, @Nullable String leaderNodeId, int partitionCount, long replicationLag) Creates an instance of aClusterHealthrecord class.HealthSnapshot(Instant timestamp, String nodeId, ClusterHealthMonitor.HealthStatus status, double memoryUsagePercent, double cpuLoadPercent, long lastHeartbeatAgoMs) Creates an instance of aHealthSnapshotrecord class.NodeHealth(String nodeId, ClusterHealthMonitor.HealthStatus status, long uptimeSeconds, long memoryUsedBytes, long memoryMaxBytes, double cpuLoadPercent, long totalKeys, RaftState raftState, long lastHeartbeatAgo) Creates an instance of aNodeHealthrecord class.