Method Summary |
|
void | abortOutputStream(SequenceNumbers retainNumbers) Clean up after output was aborted. |
boolean | checkOwnership() |
void | cleanupArchive() |
void | cleanupOldDeltas(SequenceNumbers cleanupNumbers) Cleanup old deltas as specified by cleanupNumbers. |
void | finishInputStream(int deltaNumber) |
void | finishOutputStream(SequenceNumbers retainNumbers, boolean full) Clean up after closing the output stream. |
int | getConsolidationPeriod() Get the number of incremental snapshots between full snapshots. |
String[] | getControlNames() Gets the names of all media-specific controls. |
OMCRangeList | getControlValues(String controlName) Gets the list of allowed ranges for values of the named
control. |
java.sql.Connection | getDatabaseConnection(Object locker) Get the connection to the database into which persistence
deltas are being written for coordinated transaction
management. |
String | getName() Gets the name of the PersistencePlugin. |
String | getParam(int i) Get a specific plugin parameter.
Parameters: i - the index of the desired parameter. |
int | getParamCount() Get the number of parameters for this plugin. |
long | getPersistenceInterval() |
void | init(PersistencePluginSupport pps, String name, String[] params, boolean deleteOldPersistence) Initialize the plugin with PersistencePluginSupport and
parameters. |
boolean | isWritable() Is this persistence medium writable? Non-writable media are only
used for rehydration. |
void | lockOwnership() Lock out other instances of this agent. |
InputStream | openInputStream(int deltaNumber) Open an InputStream from which a persistence delta can be
read. |
OutputStream | openOutputStream(int deltaNumber, boolean full) Open an OutputStream onto which a persistence delta can be
written. |
SequenceNumbers[] | readSequenceNumbers(String suffix) Read the specified set of sequence numbers. |
void | releaseDatabaseConnection(Object locker) Release the connection to the database into which persistence
deltas are being written for coordinated transaction
management. |
DataProtectionKey | retrieveDataProtectionKey(int deltaNumber) |
void | setConsolidationPeriod(int newPeriod) |
void | setControl(String controlName, Comparable newValue) Set value of a particular control. |
void | setPersistenceInterval(long newInterval) |
void | setWritable(boolean newDisable) |
void | storeDataProtectionKey(int deltaNumber, DataProtectionKey key) |
void | unlockOwnership() Release the lockout of other instances of this agent. |