public class ClientCacheChangeDiscoveryMessage extends Object implements DiscoveryCustomMessage
| Constructor and Description |
|---|
ClientCacheChangeDiscoveryMessage(Map<Integer,Boolean> startedCaches,
Set<Integer> closedCaches) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoveryCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
@Nullable Set<Integer> |
closedCaches() |
@Nullable DiscoCache |
createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
boolean |
empty() |
IgniteUuid |
id() |
boolean |
isMutable() |
void |
merge(@Nullable Map<Integer,Boolean> startedCaches,
@Nullable Set<Integer> closedCaches) |
@Nullable Map<Integer,Boolean> |
startedCaches() |
String |
toString() |
org.apache.ignite.internal.processors.cache.ClientCacheUpdateTimeout |
updateTimeoutObject() |
void |
updateTimeoutObject(org.apache.ignite.internal.processors.cache.ClientCacheUpdateTimeout updateTimeoutObj) |
public void merge(@Nullable
@Nullable Map<Integer,Boolean> startedCaches,
@Nullable
@Nullable Set<Integer> closedCaches)
startedCaches - Started caches.closedCaches - Closed caches.public boolean empty()
True if there are no info about started/closed caches.public org.apache.ignite.internal.processors.cache.ClientCacheUpdateTimeout updateTimeoutObject()
public void updateTimeoutObject(org.apache.ignite.internal.processors.cache.ClientCacheUpdateTimeout updateTimeoutObj)
updateTimeoutObj - Update timeout object.@Nullable public @Nullable Map<Integer,Boolean> startedCaches()
public IgniteUuid id()
id in interface DiscoveryCustomMessage@Nullable public @Nullable 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 sent to next nodes.@Nullable public @Nullable DiscoCache createDiscoCache(GridDiscoveryManager mgr, AffinityTopologyVersion topVer, DiscoCache discoCache)
createDiscoCache in interface DiscoveryCustomMessagemgr - Discovery manager.topVer - New topology version.discoCache - Current discovery cache.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021