public class ChangeGlobalStateFinishMessage extends Object implements DiscoveryCustomMessage
| Constructor and Description |
|---|
ChangeGlobalStateFinishMessage(UUID reqId,
boolean clusterActive,
Boolean transitionRes) |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
boolean |
clusterActive() |
DiscoCache |
createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
IgniteUuid |
id() |
boolean |
isMutable() |
UUID |
requestId() |
boolean |
stopProcess()
|
boolean |
success() |
String |
toString() |
public UUID requestId()
public boolean clusterActive()
public boolean success()
public IgniteUuid id()
id in interface DiscoveryCustomMessage@Nullable public 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.@Nullable public DiscoCache createDiscoCache(GridDiscoveryManager mgr, AffinityTopologyVersion topVer, DiscoCache discoCache)
createDiscoCache in interface DiscoveryCustomMessagemgr - Discovery manager.topVer - New topology version.discoCache - Current discovery cache.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018