Package org.apache.ignite.spi.discovery
Interface DiscoverySpiCustomMessage
- 
- All Superinterfaces:
- Serializable
 
 public interface DiscoverySpiCustomMessage extends Serializable Message to send across ring.- See Also:
- GridDiscoveryManager.sendCustomEvent(DiscoveryCustomMessage)
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable DiscoverySpiCustomMessageackMessage()Called when custom message has been handled by all nodes.booleanisMutable()booleanstopProcess()Called on discovery coordinator node after listener is notified.
 
- 
- 
- 
Method Detail- 
ackMessage@Nullable @Nullable DiscoverySpiCustomMessage ackMessage() Called when custom message has been handled by all nodes.- Returns:
- Ack message or nullif ack is not required.
 
 - 
isMutableboolean isMutable() - Returns:
- Trueif message can be modified during listener notification. Changes will be send to next nodes.
 
 - 
stopProcessboolean stopProcess() Called on discovery coordinator node after listener is notified. If returnstruethen message is not passed to others nodes, if after this methodackMessage()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.- Returns:
- Trueif message should not be sent to all nodes.
 
 
- 
 
-