Freeze Slice API Reference
|
A transactional evictor is an evictor that performs every single read-write operation within its own transaction. More...
defined in <Freeze/TransactionalEvictor.ice>
local interface TransactionalEvictor extends Freeze::Evictor { ... }
Operations | |
Transaction | getCurrentTransaction () |
Get the transaction associated with the calling thread. More... | |
void | setCurrentTransaction (Transaction tx) |
Associate a transaction with the calling thread. More... | |
![]() | |
Object * | add (Object servant, Ice::Identity id) |
Add a servant to this evictor. More... | |
Object * | addFacet (Object servant, Ice::Identity id, string facet) |
Like add, but with a facet. More... | |
EvictorIterator | getIterator (string facet, int batchSize) |
Get an iterator for the identities managed by the evictor. More... | |
int | getSize () |
Get the size of the evictor's servant queue. More... | |
bool | hasFacet (Ice::Identity id, string facet) |
Like hasObject, but with a facet. More... | |
bool | hasObject (Ice::Identity id) |
Returns true if the given identity is managed by the evictor with the default facet. More... | |
Object | remove (Ice::Identity id) |
Permanently destroy an Ice object. More... | |
Object | removeFacet (Ice::Identity id, string facet) |
Like remove, but with a facet. More... | |
void | setSize (int sz) |
Set the size of the evictor's servant queue. More... | |
![]() | |
void | deactivate (string category) |
void | finished (Current curr,["swift:nonnull"] Object servant, LocalObject cookie) |
Object | locate (Current curr, out LocalObject cookie) |
A transactional evictor is an evictor that performs every single read-write operation within its own transaction.
Transaction getCurrentTransaction | ( | ) |
Get the transaction associated with the calling thread.
void setCurrentTransaction | ( | Transaction | tx | ) |
Associate a transaction with the calling thread.
tx | The transaction to associate with the calling thread. |