public final class MetadataRemoveProposedMessage extends Object implements DiscoveryCustomMessage
MetadataRemoveAcceptedMessage messages make a basis for
discovery-based protocol for manage metadata describing objects in binary format
stored in Ignite caches.| Constructor and Description |
|---|
MetadataRemoveProposedMessage(int typeId,
UUID origNodeId) |
| 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.
|
IgniteUuid |
id() |
boolean |
isMutable() |
boolean |
isOnCoordinator() |
void |
setOnCoordinator(boolean onCoordinator) |
String |
toString() |
int |
typeId() |
public MetadataRemoveProposedMessage(int typeId,
UUID origNodeId)
typeId - Binary type ID.origNodeId - ID of node requested update.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 isOnCoordinator()
public void setOnCoordinator(boolean onCoordinator)
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021