public interface DiscoverySpiCustomMessage extends Serializable
GridDiscoveryManager.sendCustomEvent(DiscoveryCustomMessage)
Modifier and Type | Method and Description |
---|---|
@Nullable DiscoverySpiCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
boolean |
isMutable() |
boolean |
stopProcess()
Called on discovery coordinator node after listener is notified.
|
@Nullable @Nullable DiscoverySpiCustomMessage ackMessage()
null
if ack is not required.boolean isMutable()
True
if message can be modified during listener notification. Changes will be send to next nodes.boolean stopProcess()
true
then message is not passed to others nodes, if after this method ackMessage()
returns non-null ack
message, it is sent to all nodes.
Note: this method is used then and only then the zookeeper discovery is configured.True
if message should not be sent to all nodes.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023