public class ChangeGlobalStateMessage extends Object implements DiscoveryCustomMessage
Constructor and Description |
---|
ChangeGlobalStateMessage(UUID requestId,
UUID initiatingNodeId,
boolean activate,
DynamicCacheChangeBatch changeGlobalStateBatch) |
Modifier and Type | Method and Description |
---|---|
DiscoveryCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
boolean |
activate() |
void |
concurrentChangeState() |
DynamicCacheChangeBatch |
getDynamicCacheChangeBatch() |
IgniteUuid |
id() |
UUID |
initiatorNodeId() |
boolean |
isMutable() |
UUID |
requestId() |
String |
toString() |
public ChangeGlobalStateMessage(UUID requestId, UUID initiatingNodeId, boolean activate, DynamicCacheChangeBatch changeGlobalStateBatch)
public DynamicCacheChangeBatch getDynamicCacheChangeBatch()
public IgniteUuid id()
id
in interface DiscoveryCustomMessage
@Nullable public DiscoveryCustomMessage ackMessage()
ackMessage
in interface DiscoveryCustomMessage
null
if ack is not required.public boolean isMutable()
isMutable
in interface DiscoveryCustomMessage
true
if message can be modified during listener notification. Changes will be send to next nodes.public UUID initiatorNodeId()
public boolean activate()
public UUID requestId()
public void concurrentChangeState()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017