Uses of Class
com.loomcache.server.consensus.RaftNode
Packages that use RaftNode
Package
Description
-
Uses of RaftNode in com.loomcache.server.cluster
Constructors in com.loomcache.server.cluster with parameters of type RaftNodeModifierConstructorDescriptionClusterHealthMonitor(String nodeId, int instanceNumber, RaftNode raftNode, HealthChecker healthChecker, long healthCheckIntervalMs) Create a new ClusterHealthMonitor. -
Uses of RaftNode in com.loomcache.server.consensus
Methods in com.loomcache.server.consensus that return RaftNodeModifier and TypeMethodDescriptionprotected RaftNodeRaftGroupManager.createRaftNode(String groupName) Creates a RaftNode instance for the given group.RaftGroupManager.getDefaultGroup()Gets the default group (backward compatible accessor).RaftGroupManager.getGroupForKey(String key) Routes a key to its Raft group using consistent hashing.@Nullable RaftNodeRaftGroupManager.getGroupIfExists(String groupName) Gets a specific Raft group by name, or null if it hasn't been created yet.RaftGroupManager.getOrCreateGroup(String groupName) Gets or creates a Raft group by name using lazy initialization.Methods in com.loomcache.server.consensus that return types with arguments of type RaftNodeModifier and TypeMethodDescriptionRaftGroupManager.getAllGroups()Gets all active RaftNode instances.RaftGroupManager.getGroupSnapshot()Gets a snapshot of current group state for monitoring/debugging.Methods in com.loomcache.server.consensus with parameters of type RaftNodeModifier and TypeMethodDescriptionRaftInvariantChecker.checkLeaderCompleteness(RaftNode leader, long commitIndex) Check Leader Completeness: if a log entry is committed, it is present in logs of all current and future leaders.Method parameters in com.loomcache.server.consensus with type arguments of type RaftNodeModifier and TypeMethodDescriptionRaftInvariantChecker.checkElectionSafety(List<RaftNode> nodes) Check Election Safety: at most one leader per term across a list of nodes.Constructors in com.loomcache.server.consensus with parameters of type RaftNodeModifierConstructorDescriptionRaftHealthCheck(RaftNode raftNode) Creates a new RaftHealthCheck for monitoring the given Raft node. -
Uses of RaftNode in com.loomcache.server.handler
Constructors in com.loomcache.server.handler with parameters of type RaftNodeModifierConstructorDescriptionBatchExecutionHandler(DataStructureRegistry registry, int instanceNumber, RaftNode raftNode) Create a batch execution handler for a specific cluster node.