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) |
boolean |
exchangeNeeded() |
IgniteUuid |
id() |
void |
id(IgniteUuid id) |
boolean |
isMutable() |
Collection<DynamicCacheChangeRequest> |
requests() |
String |
toString() |
public DynamicCacheChangeBatch(Collection<DynamicCacheChangeRequest> reqs)
reqs
- Requests.public IgniteUuid id()
id
in interface DiscoveryCustomMessage
public void id(IgniteUuid id)
id
- Message ID.public Collection<DynamicCacheChangeRequest> requests()
public void clientNodes(Map<String,Map<UUID,Boolean>> clientNodes)
clientNodes
- Client nodes map.@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 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.public boolean exchangeNeeded()
True
if request should trigger partition exchange.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017