public class CustomMessageWrapper extends Object implements DiscoverySpiCustomMessage
| Constructor and Description |
|---|
CustomMessageWrapper(DiscoveryCustomMessage delegate) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoverySpiCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
DiscoveryCustomMessage |
delegate() |
boolean |
isMutable() |
boolean |
stopProcess()
Deprecated.
|
String |
toString() |
public CustomMessageWrapper(DiscoveryCustomMessage delegate)
delegate - Delegate.@Nullable public @Nullable 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.@Deprecated 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 Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021