public interface IGridClusterStateProcessor extends GridProcessor
GridComponent.DiscoveryDataExchangeTypecollectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, validateNode, validateNode@Deprecated boolean publicApiActiveState(boolean waitForTransition)
publicApiState(boolean) instead.@Deprecated IgniteFuture<Boolean> publicApiActiveStateAsync(boolean waitForTransition)
publicApiStateAsync(boolean) instead.ClusterState publicApiState(boolean waitForTransition)
waitForTransition - Wait end of transition or not.IgniteFuture<ClusterState> publicApiStateAsync(boolean waitForTransition)
waitForTransition - Wait end of transition or not.long lastStateChangeTime()
@Nullable @Nullable IgniteInternalFuture<Boolean> onLocalJoin(DiscoCache discoCache)
discoCache - Discovery data cache.@Nullable @Nullable ChangeGlobalStateFinishMessage onNodeLeft(ClusterNode node)
node - Failed node.void onStateFinishMessage(ChangeGlobalStateFinishMessage msg)
msg - Message.boolean onStateChangeMessage(AffinityTopologyVersion topVer, ChangeGlobalStateMessage msg, DiscoCache discoCache)
topVer - Current topology version.msg - Message.discoCache - Current nodes.True if need start state change process.DiscoveryDataClusterState clusterState()
DiscoveryDataClusterState pendingState(ChangeGlobalStateMessage stateMsg)
void cacheProcessorStarted()
IgniteInternalFuture<?> changeGlobalState(ClusterState state, boolean forceDeactivation, Collection<? extends BaselineNode> baselineNodes, boolean forceChangeBaselineTopology)
state - New cluster state.forceDeactivation - If true, cluster deactivation will be forced.baselineNodes - New baseline nodes.forceChangeBaselineTopology - Force change baseline topology.ClusterState.INACTIVEvoid onStateChangeError(Map<UUID,Exception> errs, StateChangeRequest req)
errs - Errors.req - State change request.void onStateChangeExchangeDone(StateChangeRequest req)
req - State change request.void onBaselineTopologyChanged(BaselineTopology blt, BaselineTopologyHistoryItem prevBltHistItem) throws IgniteCheckedException
blt - New baseline topology.prevBltHistItem - Previous baseline history item.IgniteCheckedExceptionvoid onExchangeFinishedOnCoordinator(IgniteInternalFuture exchangeFuture, boolean hasMovingPartitions)
exchangeFuture - Exchange future.hasMovingPartitions - True if there are moving partitions.boolean evictionsAllowed()
True if partition evictions are allowed in current state.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023