public class ONewDistributedTransactionManager extends Object
Constructor and Description |
---|
ONewDistributedTransactionManager(ODistributedStorage storage,
ODistributedServerManager manager,
ODistributedDatabase iDDatabase) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkForClusterIds(OTransactionInternal iTx) |
void |
commit(ODatabaseDocumentDistributed database,
OTransactionInternal iTx) |
protected OTransactionPhase1Task |
createTxTask(OTransactionId id,
OTransactionInternal transaction,
Set<String> nodes) |
protected Set<String> |
getAvailableNodesButLocal(ODistributedConfiguration dbCfg,
Set<String> involvedClusters,
String localNodeName) |
protected Set<String> |
getInvolvedClusters(Iterable<ORecordOperation> uResult) |
OLogSequenceNumber |
getLsn() |
void |
retriedCommit(ODatabaseDocumentDistributed database,
OTransactionInternal iTx,
OTransactionId txId,
ODistributedRequestId requestId) |
public ONewDistributedTransactionManager(ODistributedStorage storage, ODistributedServerManager manager, ODistributedDatabase iDDatabase)
public void commit(ODatabaseDocumentDistributed database, OTransactionInternal iTx)
public void retriedCommit(ODatabaseDocumentDistributed database, OTransactionInternal iTx, OTransactionId txId, ODistributedRequestId requestId)
public OLogSequenceNumber getLsn()
protected void checkForClusterIds(OTransactionInternal iTx)
protected Set<String> getAvailableNodesButLocal(ODistributedConfiguration dbCfg, Set<String> involvedClusters, String localNodeName)
protected Set<String> getInvolvedClusters(Iterable<ORecordOperation> uResult)
protected OTransactionPhase1Task createTxTask(OTransactionId id, OTransactionInternal transaction, Set<String> nodes)
Copyright © 2009–2020 OrientDB. All rights reserved.