Package com.loomcache.server.cluster
@NullMarked
package com.loomcache.server.cluster
-
ClassDescriptionCluster-wide health monitor that aggregates health status from all subsystems.Alert severity levels.Cluster-wide health aggregation.Health alert record.Health snapshot for historical tracking.Listener for health state changes.Sealed interface for health status.Node is degraded but operational.Node is healthy.Node is unhealthy and may be unavailable.Health information for a single node.Protocol-level membership change tracking for cluster membership management.Reason for member leaving the cluster.Sealed interface for membership events.The cluster leader has changed.A member has joined the cluster.A member has left the cluster.A previously suspected member has recovered.A member is suspected to have failed.Listener for membership events.Membership statistics.Current snapshot of cluster membership.Information about a cluster member.State of a cluster member.Handles chunked data transfer for partition migrations with integrity checking and flow control.Record representing a single chunk with metadata.Operator-facing SPI for observing partition migration lifecycle events.Network partition detector for cluster health monitoring.Configuration record for the partition detector.Detector statistics for monitoring.Diagnostics snapshot for partition status.Event representing a partition change (detected or healed).Recovery plan for an asymmetric partial network partition.Sealed interface for partition status.Full partition: complete network split with clear majority/minority.All nodes are healthy and reachable.Asymmetric partition detected: some nodes can reach others but not vice versa.Coordinates partition migration when cluster topology changes.Parsed chunk-level DATA metadata + payload.Atomically commits a full partition ownership table.Partition migration pipeline for data redistribution during cluster topology changes.Value plus absolute expiry metadata for a migrated map entry.Sends partition data to the target node.Progress record for tracking migration advancement.Migration state enum representing the lifecycle of a migration task.Statistics record for migration pipeline metrics.Task record representing a single partition migration.Commits a partition ownership change through Raft consensus.Maps 16384 partition slots to owner node IDs using consistent hashing.Phi-Accrual Failure Detector — adaptive failure detection that calculates a continuous suspicion level (phi) based on inter-arrival times of heartbeats.Ensures partition replicas are distributed across racks for fault tolerance.Represents the cluster topology for placement calculations.Constraints for rack-aware placement.Simple implementation of ClusterTopology.Scalable Weakly-consistent Infection-style Membership (SWIM) protocol detector.Gossip message with dissemination tracking.Gossip message types for the SWIM protocol.Information about a cluster member.Sealed interface for member state in the protocol.Member is alive and reachable.Member is confirmed dead.Member is suspected dead; waiting for confirmation via suspicion timeout.Metrics holder for SWIM protocol statistics.
PartitionMigrationPipeline.MigrationDataSenderthat ships partition data to a target node over TCP with per-chunk ACK + retry (Session 10 ESC-12).Routes read and write requests based on topology awareness.Represents a network endpoint for a cache node.Statistics for topology-aware routing.Configuration for topology-aware request routing.Represents the physical topology location of a node in a distributed cluster.