public class TransactionedSerial extends Transactioned
| Constructor and Description |
|---|
TransactionedSerial(TransactionPool transactionPool)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
current(Transaction transaction)
Readlock and return the serial for the given Transaction.
|
void |
increment_unlocked()
Increment.
|
void |
increment(Transaction transaction)
Write lock and increment.
|
invalidate, markValidpublic TransactionedSerial(TransactionPool transactionPool)
transactionPool - the TransactionPool this is relevant topublic long current(Transaction transaction)
transaction - the Transactionpublic void increment(Transaction transaction)
transaction - the Transactionpublic void increment_unlocked()
Copyright © 2000–2021 PanEris. All rights reserved.