public class DynamicCacheChangeBatch extends Object implements DiscoveryCustomMessage
| Constructor and Description |
|---|
DynamicCacheChangeBatch(Collection<DynamicCacheChangeRequest> reqs) |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
Map<String,Map<UUID,Boolean>> |
clientNodes() |
void |
clientNodes(Map<String,Map<UUID,Boolean>> clientNodes) |
boolean |
clientReconnect() |
void |
clientReconnect(boolean clientReconnect) |
IgniteUuid |
id() |
boolean |
incrementMinorTopologyVersion()
Whether or not minor version of topology should be increased on message receive.
|
boolean |
isMutable() |
Collection<DynamicCacheChangeRequest> |
requests() |
String |
toString() |
public DynamicCacheChangeBatch(Collection<DynamicCacheChangeRequest> reqs)
reqs - Requests.public IgniteUuid id()
id in interface DiscoveryCustomMessagepublic Collection<DynamicCacheChangeRequest> requests()
public void clientNodes(Map<String,Map<UUID,Boolean>> clientNodes)
clientNodes - Client nodes map.public boolean incrementMinorTopologyVersion()
incrementMinorTopologyVersion in interface DiscoveryCustomMessagetrue if minor topology version should be increased.AffinityTopologyVersion.minorTopVer@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 void clientReconnect(boolean clientReconnect)
clientReconnect - True if this is discovery data sent on client reconnect.public boolean clientReconnect()
True if this is discovery data sent on client reconnect.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.4.0 Release Date : September 24 2015