public class ChangeGlobalStateMessage extends Object implements DiscoveryCustomMessage
| Constructor and Description |
|---|
ChangeGlobalStateMessage(UUID reqId,
UUID initiatingNodeId,
List<StoredCacheData> storedCfgs,
boolean activate) |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
boolean |
activate() |
ExchangeActions |
exchangeActions() |
IgniteUuid |
id() |
UUID |
initiatorNodeId() |
boolean |
isMutable() |
UUID |
requestId() |
List<StoredCacheData> |
storedCacheConfigurations() |
String |
toString() |
public ChangeGlobalStateMessage(UUID reqId, UUID initiatingNodeId, @Nullable List<StoredCacheData> storedCfgs, boolean activate)
reqId - State change request ID.initiatingNodeId - Node initiated state change.storedCfgs - Configurations read from persistent store.activate - New cluster state.@Nullable public List<StoredCacheData> storedCacheConfigurations()
@Nullable public ExchangeActions exchangeActions()
null exchange is not needed.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 send to next nodes.public UUID initiatorNodeId()
public boolean activate()
public UUID requestId()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017