public class CacheStatisticsModeChangeMessage extends Object implements DiscoveryCustomMessage
| Constructor and Description |
|---|
CacheStatisticsModeChangeMessage(UUID reqId,
Collection<String> caches,
boolean enabled)
Constructor for request.
|
| Modifier and Type | Method and Description |
|---|---|
DiscoveryCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
Collection<String> |
caches() |
DiscoCache |
createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
boolean |
enabled() |
IgniteUuid |
id() |
boolean |
initial()
Initial message flag.
|
boolean |
isMutable() |
UUID |
requestId() |
boolean |
stopProcess()
|
String |
toString() |
public CacheStatisticsModeChangeMessage(UUID reqId, Collection<String> caches, boolean enabled)
caches - Collection of cache names.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 sent to next nodes.public boolean stopProcess()
stopProcess in interface DiscoveryCustomMessageTrue if message should not be sent to others nodes after it was processed on coordinator.public DiscoCache createDiscoCache(GridDiscoveryManager mgr, AffinityTopologyVersion topVer, DiscoCache discoCache)
createDiscoCache in interface DiscoveryCustomMessagemgr - Discovery manager.topVer - New topology version.discoCache - Current discovery cache.public Collection<String> caches()
public boolean initial()
public boolean enabled()
public UUID requestId()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018