| Modifier and Type | Method and Description |
|---|---|
ODistributedRequestId |
ODistributedRequest.getId() |
ODistributedRequestId |
ODistributedResponseManagerImpl.getMessageId() |
ODistributedRequestId |
ODistributedResponseManager.getMessageId() |
ODistributedRequestId |
ODistributedTxContext.getReqId() |
ODistributedRequestId |
ODistributedResponse.getRequestId() |
| Modifier and Type | Method and Description |
|---|---|
com.orientechnologies.common.util.OCallable<Void,ODistributedRequestId> |
OAsynchDistributedOperation.getAfterSendCallback() |
com.orientechnologies.common.util.OCallable<Object,com.orientechnologies.common.util.OPair<ODistributedRequestId,Object>> |
OAsynchDistributedOperation.getCallback() |
| Modifier and Type | Method and Description |
|---|---|
Object |
ODistributedServerManager.executeOnLocalNode(ODistributedRequestId reqId,
ORemoteTask task,
ODatabaseDocumentInternal database) |
boolean |
ODistributedDatabase.forceLockRecord(com.orientechnologies.orient.core.id.ORID record,
ODistributedRequestId requestId)
Force the locking of a record.
|
ODistributedResponseManager |
ODistributedMessageService.getResponseManager(ODistributedRequestId reqId) |
ODistributedTxContext |
ODistributedDatabase.getTxContext(ODistributedRequestId requestId) |
boolean |
ODistributedDatabase.lockRecord(com.orientechnologies.orient.core.id.ORID record,
ODistributedRequestId requestId,
long timeout)
Locks the record to be sure distributed transactions never work concurrently against the same records in the meanwhile the
transaction is executed and the OCompleteTxTask is not arrived.
|
ODistributedTxContext |
ODistributedDatabase.popTxContext(ODistributedRequestId requestId) |
ODistributedTxContext |
ODistributedDatabase.registerTxContext(ODistributedRequestId reqId) |
ODistributedTxContext |
ODistributedDatabase.registerTxContext(ODistributedRequestId reqId,
ODistributedTxContext ctx) |
void |
ODistributedRequest.setId(ODistributedRequestId reqId) |
void |
ODistributedDatabase.unlockRecord(com.orientechnologies.orient.core.db.record.OIdentifiable record,
ODistributedRequestId requestId)
Unlocks the record previously locked through #lockRecord method.
|
| Modifier and Type | Method and Description |
|---|---|
ODistributedResponse |
ODistributedDatabase.send2Nodes(ODistributedRequest iRequest,
Collection<String> iClusterNames,
Collection<String> iNodes,
ODistributedRequest.EXECUTION_MODE iExecutionMode,
Object localResult,
com.orientechnologies.common.util.OCallable<Void,ODistributedRequestId> iAfterSentCallback,
com.orientechnologies.common.util.OCallable<Void,ODistributedResponseManager> endCallback) |
ODistributedResponse |
ODistributedServerManager.sendRequest(String iDatabaseName,
Collection<String> iClusterNames,
Collection<String> iTargetNodeNames,
ORemoteTask iTask,
long messageId,
ODistributedRequest.EXECUTION_MODE iExecutionMode,
Object localResult,
com.orientechnologies.common.util.OCallable<Void,ODistributedRequestId> iAfterSentCallback,
com.orientechnologies.common.util.OCallable<Void,ODistributedResponseManager> endCallback)
Sends a distributed request against multiple servers.
|
| Constructor and Description |
|---|
ODistributedResponse(ODistributedResponseManager msg,
ODistributedRequestId iRequestId,
String executorNodeName,
String senderNodeName,
Object payload) |
| Constructor and Description |
|---|
OAsynchDistributedOperation(String iDatabaseName,
Set<String> iClusterNames,
Collection<String> iNodes,
ORemoteTask iTask,
long iMessageId,
Object iLocalResult,
com.orientechnologies.common.util.OCallable<Void,ODistributedRequestId> iAfterRequestCallback,
com.orientechnologies.common.util.OCallable<Object,com.orientechnologies.common.util.OPair<ODistributedRequestId,Object>> iCallback) |
OAsynchDistributedOperation(String iDatabaseName,
Set<String> iClusterNames,
Collection<String> iNodes,
ORemoteTask iTask,
long iMessageId,
Object iLocalResult,
com.orientechnologies.common.util.OCallable<Void,ODistributedRequestId> iAfterRequestCallback,
com.orientechnologies.common.util.OCallable<Object,com.orientechnologies.common.util.OPair<ODistributedRequestId,Object>> iCallback) |
| Modifier and Type | Method and Description |
|---|---|
Object |
NodeOperationTask.execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
| Modifier and Type | Field and Description |
|---|---|
protected ODistributedRequestId |
ODistributedRecordLockedException.lockHolder |
| Modifier and Type | Method and Description |
|---|---|
ODistributedRequestId |
ODistributedRecordLockedException.getLockHolder() |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
OAbstractRemoteTask.execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
Object |
ORemoteTask.execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
Object |
OAbstractRecordReplicatedTask.execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
abstract Object |
OAbstractRecordReplicatedTask.executeRecordTask(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
ORemoteTask |
OAbstractReplicatedTask.getUndoTask(ODistributedServerManager dManager,
ODistributedRequestId reqId,
List<String> servers) |
| Constructor and Description |
|---|
ODistributedRecordLockedException(String localNodeName,
com.orientechnologies.orient.core.id.ORID iRid,
ODistributedRequestId iLockingRequestId,
long timeout) |
Copyright © 2009–2018 OrientDB. All rights reserved.