public class ChangeGlobalStateMessage extends Object implements DiscoveryCustomMessage
| Constructor and Description |
|---|
ChangeGlobalStateMessage(UUID reqId,
UUID initiatingNodeId,
@Nullable List<StoredCacheData> storedCfgs,
boolean activate,
BaselineTopology baselineTopology,
boolean forceChangeBaselineTopology,
long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoveryCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
boolean |
activate() |
@Nullable BaselineTopology |
baselineTopology() |
DiscoCache |
createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
@Nullable ExchangeActions |
exchangeActions() |
boolean |
forceChangeBaselineTopology() |
IgniteUuid |
id() |
UUID |
initiatorNodeId() |
boolean |
isMutable() |
UUID |
requestId() |
@Nullable ServiceDeploymentActions |
servicesDeploymentActions() |
void |
servicesDeploymentActions(ServiceDeploymentActions serviceDeploymentActions) |
boolean |
stopProcess()
|
@Nullable List<StoredCacheData> |
storedCacheConfigurations() |
long |
timestamp() |
String |
toString() |
public ChangeGlobalStateMessage(UUID reqId, UUID initiatingNodeId, @Nullable @Nullable List<StoredCacheData> storedCfgs, boolean activate, BaselineTopology baselineTopology, boolean forceChangeBaselineTopology, long timestamp)
reqId - State change request ID.initiatingNodeId - Node initiated state change.storedCfgs - Configurations read from persistent store.activate - New cluster state.baselineTopology - Baseline topology.forceChangeBaselineTopology - Force change baseline topology flag.timestamp - Timestamp.@Nullable public @Nullable List<StoredCacheData> storedCacheConfigurations()
@Nullable public @Nullable ExchangeActions exchangeActions()
null exchange is not needed.@Nullable public @Nullable ServiceDeploymentActions servicesDeploymentActions()
public void servicesDeploymentActions(ServiceDeploymentActions serviceDeploymentActions)
serviceDeploymentActions - Services deployment actions to be processed on services deployment process.public IgniteUuid id()
id in interface DiscoveryCustomMessage@Nullable public @Nullable DiscoveryCustomMessage ackMessage()
ackMessage in interface DiscoveryCustomMessagenull if ack is not required.public boolean isMutable()
isMutable in interface DiscoveryCustomMessageTrue if message can be modified during listener notification. Changes will be sent to next nodes.public boolean stopProcess()
stopProcess in interface DiscoveryCustomMessageTrue if message should not be sent to others nodes after it was processed on coordinator.public DiscoCache createDiscoCache(GridDiscoveryManager mgr, AffinityTopologyVersion topVer, DiscoCache discoCache)
createDiscoCache in interface DiscoveryCustomMessagemgr - Discovery manager.topVer - New topology version.discoCache - Current discovery cache.public UUID initiatorNodeId()
public boolean activate()
public boolean forceChangeBaselineTopology()
@Nullable public @Nullable BaselineTopology baselineTopology()
public long timestamp()
public UUID requestId()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020