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.
|
boolean |
exchangeNeeded() |
IgniteUuid |
id() |
boolean |
isMutable() |
Collection<DynamicCacheChangeRequest> |
requests() |
Set<String> |
restartingCaches() |
DynamicCacheChangeBatch |
restartingCaches(Set<String> restartingCaches) |
boolean |
startCaches() |
void |
startCaches(boolean startCaches) |
String |
toString() |
public DynamicCacheChangeBatch(Collection<DynamicCacheChangeRequest> reqs)
reqs - Requests.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 Collection<DynamicCacheChangeRequest> requests()
public boolean exchangeNeeded()
True if request should trigger partition exchange.public boolean startCaches()
True if required to start all caches on client node.public DynamicCacheChangeBatch restartingCaches(Set<String> restartingCaches)
restartingCaches - Restarting caches.public void startCaches(boolean startCaches)
startCaches - True if required to start all caches on client node.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017