org.openorb.pss.connector.file
public class DataManager extends Object
Constructor Summary | |
---|---|
DataManager(String home_name, String datastore_name, ORBInitInfo info)
Constructor | |
DataManager()
Constuctor used for transaction delegation. |
Method Summary | |
---|---|
void | addListener(Thread thread, TransactionalDataManagerSerializable tmz)
Add a listener |
void | close() |
Enumeration | content()
Return the datastore content under an enumeration format |
long | datastoreSize()
Return the datastore length |
void | destroy()
This operation is used to destroy the datastore |
void | finalize()
Finalize operation |
void | flush() |
void | free_all() |
Hashtable | get_clean_table()
Return the clean index table |
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_clean_table(PID pid)
Read an entry from its PID. |
DataEntry | read_entry_from_index(LongHolder index)
The operation reads an entry from its PID. |
void | share()
Increment the shared value counter |
boolean | shared()
Is this data manager shared ? |
boolean | transaction_lock()
Return true if this data manager is locked for a transaction |
void | transaction_lock(TransactionalDataManagerSerializable lock)
Set the lock value |
void | transaction_unlock()
Unlock this data manager for another transaction |
void | write_entry(DataEntry entry)
Add a data into the cache. |