public class SchemaFinishDiscoveryMessage extends SchemaAbstractDiscoveryMessage
op| Constructor and Description |
|---|
SchemaFinishDiscoveryMessage(SchemaAbstractOperation op,
SchemaOperationException err)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoveryCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
@Nullable SchemaOperationException |
error() |
boolean |
exchange() |
boolean |
hasError() |
boolean |
isMutable() |
SchemaProposeDiscoveryMessage |
proposeMessage() |
void |
proposeMessage(SchemaProposeDiscoveryMessage proposeMsg) |
boolean |
stopProcess()
|
String |
toString() |
createDiscoCache, id, operationpublic SchemaFinishDiscoveryMessage(SchemaAbstractOperation op, SchemaOperationException err)
op - Original operation.err - Error.@Nullable public @Nullable DiscoveryCustomMessage ackMessage()
null if ack is not required.public boolean isMutable()
True if message can be modified during listener notification. Changes will be sent to next nodes.public boolean stopProcess()
True if message should not be sent to others nodes after it was processed on coordinator.public boolean exchange()
exchange in class SchemaAbstractDiscoveryMessagepublic boolean hasError()
True if error was reported during init.@Nullable public @Nullable SchemaOperationException error()
public SchemaProposeDiscoveryMessage proposeMessage()
public void proposeMessage(SchemaProposeDiscoveryMessage proposeMsg)
proposeMsg - Propose message.public String toString()
toString in class SchemaAbstractDiscoveryMessage
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020