| |
|
| java.lang.Object org.cougaar.core.persist.PersistencePluginAdapter org.cougaar.core.persist.DatabasePersistence
DatabasePersistence | public class DatabasePersistence extends PersistencePluginAdapter implements PersistencePlugin(Code) | | This
PersistencePlugin saves blackboard objects in a
database. It saves and restores persistence deltas in RDB tables.
We store the deltas for each agent in a separate table named
after the agent: delta_<agentName>. The table has three columns:
seqno -- has an INTEGER delta sequence number
active -- has a CHAR indicating the kind of delta stored
x -- full delta (all data)
t -- incremental delta
a -- archive delta (full but not active)
f -- inactive incremental
The above codes were selected for backward compatibility with the
former t/f meaning active was true/false
data -- has a LONG RAW with the serialized data
|
Inner Class :class WrappedConnection implements Connection | |
cleanupArchive | public void cleanupArchive()(Code) | | |
finishInputStream | public void finishInputStream(int deltaNumber)(Code) | | |
getDatabaseConnection | public Connection getDatabaseConnection(Object locker)(Code) | | Override adapter version since we actually have a database
connection we can return instead of throwing an exception.
|
handleParameter | protected void handleParameter(String param)(Code) | | |
releaseDatabaseConnection | public void releaseDatabaseConnection(Object locker)(Code) | | |
|
|
|