public class OTransactionSequenceManager extends Object
Constructor and Description |
---|
OTransactionSequenceManager(String node,
int size) |
Modifier and Type | Method and Description |
---|---|
List<OTransactionId> |
checkOtherStatus(OTransactionSequenceStatus sequenceStatus) |
List<OTransactionId> |
checkSelfStatus(OTransactionSequenceStatus sequenceStatus) |
OTransactionSequenceStatus |
currentStatus() |
void |
fill(OTransactionSequenceStatus data) |
Optional<OTransactionId> |
next() |
OTransactionId |
nextAt(int pos)
This is publuc only for testing purposes
|
boolean |
notifyFailure(OTransactionId id) |
List<OTransactionId> |
notifySuccess(OTransactionId transactionId) |
Optional<OTransactionId> |
validateTransactionId(OTransactionId transactionId) |
public OTransactionSequenceManager(String node, int size)
public void fill(OTransactionSequenceStatus data)
public Optional<OTransactionId> next()
public OTransactionId nextAt(int pos)
pos
- public List<OTransactionId> notifySuccess(OTransactionId transactionId)
public Optional<OTransactionId> validateTransactionId(OTransactionId transactionId)
public List<OTransactionId> checkSelfStatus(OTransactionSequenceStatus sequenceStatus)
public List<OTransactionId> checkOtherStatus(OTransactionSequenceStatus sequenceStatus)
public boolean notifyFailure(OTransactionId id)
public OTransactionSequenceStatus currentStatus()
Copyright © 2009–2020 OrientDB. All rights reserved.