public class MetadataRemoveAcceptedMessage extends Object implements DiscoveryCustomMessage
MetadataRemoveProposedMessage: see its javadoc for detailed description of protocol.
As discovery messaging doesn't guarantee that message makes only one pass across the cluster
MetadataRemoveAcceptedMessage enables to mark it as duplicated so other nodes won't process it but skip.| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoveryCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
@Nullable DiscoCache |
createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
boolean |
duplicated() |
void |
duplicated(boolean duplicated) |
IgniteUuid |
id() |
boolean |
isMutable() |
String |
toString() |
int |
typeId() |
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.public int typeId()
public boolean duplicated()
public void duplicated(boolean duplicated)
duplicated - duplicated flag.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020