public interface IGridClusterStateProcessor extends GridProcessor
GridComponent.DiscoveryDataExchangeTypecollectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, validateNode, validateNodeboolean publicApiActiveState(boolean waitForTransition)
IgniteFuture<Boolean> publicApiActiveStateAsync(boolean waitForTransition)
@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(boolean activate, Collection<? extends BaselineNode> baselineNodes, boolean forceChangeBaselineTopology)
activate - New cluster state.void 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.8.0 Release Date : February 27 2020