Class OTransactionSequenceManager
java.lang.Object
com.orientechnologies.orient.core.transaction.OTransactionSequenceManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckOtherStatus(OTransactionSequenceStatus sequenceStatus) checkSelfStatus(OTransactionSequenceStatus sequenceStatus) voidnext()nextAt(int pos) This is public only for testing purposesnextDDL()As today DDLs are not atomic, so we used two sequential for pre-operation and post operation to assert that the DDL was completed, as soon as DDLs will be atomic we can revert to a single sequentialbooleannotifyFailure(OTransactionIdPromise promise) notifySuccess(OTransactionIdPromise promise) validate(OTransactionIdPromise promise)
-
Constructor Details
-
OTransactionSequenceManager
-
-
Method Details
-
fill
-
next
-
nextDDL
As today DDLs are not atomic, so we used two sequential for pre-operation and post operation to assert that the DDL was completed, as soon as DDLs will be atomic we can revert to a single sequential- Returns:
-
nextAt
This is public only for testing purposes- Parameters:
pos-- Returns:
-
notifySuccess
-
validate
-
checkSelfStatus
-
checkOtherStatus
-
notifyFailure
-
currentStatus
-