public class ODistributedSynchronizedSequence extends Object
Constructor and Description |
---|
ODistributedSynchronizedSequence(String node,
int size) |
Modifier and Type | Method and Description |
---|---|
List<OTransactionId> |
checkSelfStatus(OTransactionSequenceStatus status) |
OTransactionSequenceStatus |
currentStatus() |
void |
fill(Optional<byte[]> lastMetadata) |
List<OTransactionId> |
missingTransactions(OTransactionSequenceStatus lastState) |
Optional<OTransactionId> |
next() |
void |
notifyFailure(OTransactionId id) |
OTxMetadataHolderImpl |
notifySuccess(OTransactionId id) |
Optional<OTransactionId> |
validateTransactionId(OTransactionId id) |
public ODistributedSynchronizedSequence(String node, int size)
public Optional<OTransactionId> validateTransactionId(OTransactionId id)
public void notifyFailure(OTransactionId id)
public Optional<OTransactionId> next()
public OTxMetadataHolderImpl notifySuccess(OTransactionId id)
public List<OTransactionId> missingTransactions(OTransactionSequenceStatus lastState)
public void fill(Optional<byte[]> lastMetadata)
public OTransactionSequenceStatus currentStatus()
public List<OTransactionId> checkSelfStatus(OTransactionSequenceStatus status)
Copyright © 2009–2020 OrientDB. All rights reserved.