public class SchemaProposeDiscoveryMessage extends SchemaAbstractDiscoveryMessage
op| Constructor and Description |
|---|
SchemaProposeDiscoveryMessage(SchemaAbstractOperation op)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoveryCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
@Nullable IgniteUuid |
deploymentId() |
void |
deploymentId(IgniteUuid depId) |
@Nullable SchemaOperationException |
error() |
boolean |
exchange() |
void |
exchange(boolean exchange) |
boolean |
hasError() |
boolean |
initialized() |
boolean |
isMutable() |
void |
onError(SchemaOperationException err)
Set error.
|
String |
schemaName() |
boolean |
stopProcess()
|
String |
toString() |
createDiscoCache, id, operationpublic SchemaProposeDiscoveryMessage(SchemaAbstractOperation op)
op - Operation.@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 void exchange(boolean exchange)
exchange - Whether to perform exchange.@Nullable public @Nullable IgniteUuid deploymentId()
public void deploymentId(IgniteUuid depId)
depId - Deployment ID.public boolean initialized()
True if message is initialized.public void onError(SchemaOperationException err)
err - Error.public boolean hasError()
True if error was reported during init.@Nullable public @Nullable SchemaOperationException error()
public String schemaName()
public String toString()
toString in class SchemaAbstractDiscoveryMessage
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020