public class DynamicCacheChangeFailureMessage extends Object implements DiscoveryCustomMessage
| Constructor and Description |
|---|
DynamicCacheChangeFailureMessage(ClusterNode locNode,
GridDhtPartitionExchangeId exchId,
IgniteCheckedException cause,
Collection<String> cacheNames)
Creates new DynamicCacheChangeFailureMessage instance.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoveryCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
Collection<String> |
cacheNames() |
DiscoCache |
createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
IgniteCheckedException |
error() |
ExchangeActions |
exchangeActions() |
void |
exchangeActions(ExchangeActions exchangeActions) |
@Nullable GridDhtPartitionExchangeId |
exchangeId() |
IgniteUuid |
id() |
boolean |
isMutable() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstopProcesspublic DynamicCacheChangeFailureMessage(ClusterNode locNode, GridDhtPartitionExchangeId exchId, IgniteCheckedException cause, Collection<String> cacheNames)
locNode - Local node.exchId - Exchange Id.cause - Cache start error.cacheNames - Cache names.public IgniteUuid id()
id in interface DiscoveryCustomMessagepublic Collection<String> cacheNames()
public IgniteCheckedException error()
public ExchangeActions exchangeActions()
public void exchangeActions(ExchangeActions exchangeActions)
exchangeActions - Cache updates to be executed on exchange.@Nullable public @Nullable GridDhtPartitionExchangeId exchangeId()
@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.public 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.15.0 Release Date : April 25 2023