org.openorb.pss.connector.file
public class TransactionalDataManager extends DataManager
Constructor Summary | |
---|---|
TransactionalDataManager(DataManager delegated)
Constructor |
Method Summary | |
---|---|
void | begin()
This operation is used to begin a transaction |
boolean | begun()
Is the transaction begun ? |
void | close() |
void | commit()
This operation is used to commit a transaction |
Enumeration | content()
Return the datastore content under an enumeration format |
long | datastoreSize()
Return the datastore length |
void | finalize()
Finalize operation |
void | flush() |
void | forget()
This operation is used to forget the transaction |
void | free_all() |
Hashtable | get_index_table()
Return the index table |
String | home()
Return home base name |
void | invalidate_entry(PID pid)
Invalidate an entry |
String | key()
Return the hashtable key |
Object | lock()
Return the current lock |
void | lock_flush(boolean lock)
Disable or enable flush |
long | nextFreeID()
This operation returns a new free ID. |
DataEntry | read_entry(PID pid)
Read an entry from its PID. |
DataEntry | read_entry_from_index(LongHolder index)
The operation reads an entry from its PID. |
void | resume_waited()
The transaction is ended, we can now resume all threads |
void | rollback()
This operation is used to rollback a transaction |
void | share()
Increment the shared value counter |
boolean | shared()
Is this data manager shared ? |
void | write_entry(DataEntry entry)
Add a data into the cache. |