I - Request type.public class InitMessage<I extends Serializable> extends Object implements DiscoveryCustomMessage
DistributedProcess,
FullMessage,
SingleNodeMessage,
Serialized Form| Constructor and Description |
|---|
InitMessage(UUID processId,
DistributedProcess.DistributedProcessType type,
I req,
boolean waitClnRes) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoveryCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
DiscoCache |
createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
IgniteUuid |
id() |
boolean |
isMutable() |
UUID |
processId() |
I |
request() |
String |
toString() |
int |
type() |
boolean |
waitClientResults() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstopProcesspublic InitMessage(UUID processId, DistributedProcess.DistributedProcessType type, I req, boolean waitClnRes)
processId - Process id.type - Process type.req - Request.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.public DiscoCache createDiscoCache(GridDiscoveryManager mgr, AffinityTopologyVersion topVer, DiscoCache discoCache)
createDiscoCache in interface DiscoveryCustomMessagemgr - Discovery manager.topVer - New topology version.discoCache - Current discovery cache.public UUID processId()
public int type()
public I request()
public boolean waitClientResults()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023