| Znav |
|---|
| next | Freeze-TransactionAlreadyInProgressException |
|---|
| prev | Freeze-Transaction |
|---|
|
Freeze::TransactionalEvictor
Overview
local interface TransactionalEvictor extends Freeze::Evictor
A transactional evictor is an evictor that performs every single read-write operation within its own transaction.
Operation Index
getCurrentTransaction — Get the transaction associated with the calling thread.
setCurrentTransaction — Associate a transaction with the calling thread.
Operations
| Anchor |
|---|
| getCurrentTransaction |
|---|
| getCurrentTransaction |
|---|
|
getCurrentTransaction()
Get the transaction associated with the calling thread.
Return Value
The transaction associated with the calling thread.
void
| Anchor |
|---|
| setCurrentTransaction |
|---|
| setCurrentTransaction |
|---|
|
setCurrentTransaction(
Freeze::Transaction tx)
Associate a transaction with the calling thread.
Parameters
tx — The transaction to associate with the calling thread.
| Znav |
|---|
| next | Freeze-TransactionAlreadyInProgressException |
|---|
| prev | Freeze-Transaction |
|---|
|