public class CustomMessageWrapper extends Object implements DiscoverySpiCustomMessage
| Modifier and Type | Method and Description |
|---|---|
DiscoverySpiCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
DiscoveryCustomMessage |
delegate() |
boolean |
isMutable() |
boolean |
stopProcess()
Called on discovery coordinator node after listener is notified.
|
String |
toString() |
@Nullable public DiscoverySpiCustomMessage ackMessage()
ackMessage in interface DiscoverySpiCustomMessagenull if ack is not required.public boolean isMutable()
isMutable in interface DiscoverySpiCustomMessageTrue if message can be modified during listener notification. Changes will be send to next nodes.public boolean stopProcess()
true
then message is not passed to others nodes, if after this method DiscoverySpiCustomMessage.ackMessage() returns non-null ack
message, it is sent to all nodes.stopProcess in interface DiscoverySpiCustomMessageTrue if message should not be sent to all nodes.public DiscoveryCustomMessage delegate()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018