public interface OCommandDistributedReplicateRequest
Modifier and Type | Interface and Description |
---|---|
static class |
OCommandDistributedReplicateRequest.DISTRIBUTED_EXECUTION_MODE |
static class |
OCommandDistributedReplicateRequest.DISTRIBUTED_RESULT_MGMT |
static class |
OCommandDistributedReplicateRequest.QUORUM_TYPE |
Modifier and Type | Method and Description |
---|---|
OCommandDistributedReplicateRequest.DISTRIBUTED_EXECUTION_MODE |
getDistributedExecutionMode()
Returns the execution mode when distributed configuration is active:
LOCAL: executed on local node only
REPLICATE: executed on all the nodes and expect the same result
SHARDED: executed on all the involved nodes and merge results
|
OCommandDistributedReplicateRequest.DISTRIBUTED_RESULT_MGMT |
getDistributedResultManagement()
Returns how to manage the distributed result between:
CHECK_FOR_EQUALS: all results must be the same
MERGE: merges results.
|
long |
getDistributedTimeout()
Returns the distributed timeout in milliseconds.
|
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType()
Returns the quorum type for the command:
NONE: no quorum
READ: configured Read quorum
WRITE: configured Write quorum
ALL: all nodes
|
String |
getUndoCommand()
Returns the undo command if any.
|
boolean |
isDistributedExecutingOnLocalNodeFirst()
Returns true if the command is executed on local node first and then distributed, or false if
it's executed to all the servers at the same time.
|
OCommandDistributedReplicateRequest.DISTRIBUTED_EXECUTION_MODE getDistributedExecutionMode()
OCommandDistributedReplicateRequest.DISTRIBUTED_RESULT_MGMT getDistributedResultManagement()
OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
long getDistributedTimeout()
String getUndoCommand()
boolean isDistributedExecutingOnLocalNodeFirst()
Copyright © 2009–2020 OrientDB. All rights reserved.