There are no implemented interfaces.
There are no attributes in this class.
abortVersion(src, transaction)
checkData(th, tpos, dh, pos)
checkTxn(th, pos)
cleanup()
Remove all files created by this storage.
close()
commitVersion(src, dest, transaction, abort=False)
copyTransactionsFrom(other, verbose=0)
Copy transactions from another storage.
This is typically used for converting data from one storage to another. `other` must have an .iterator() method.
fail(pos, msg, *args)
getName()
getSize()
getTid(oid)
getTxnFromData(oid, back)
Return transaction id for data at back.
history(oid, version=None, size=1, filter=None)
isReadOnly()
iterator(start=None, stop=None)
lastInvalidations(count)
lastTid(oid)
Return last serialno committed for object oid.
lastTransaction()
Return transaction id for last committed transaction
load(oid, version)
Return pickle data and serial number.
loadBefore(oid, tid)
loadSerial(oid, serial)
modifiedInVersion(oid)
new_oid()
pack(t, referencesf)
Copy data from the current database file to a packed file
Non-current records from transactions with time-stamp strings less than packtss are ommitted. As are all undone records.
Also, data back pointers that point before packtss are resolved and the associated data are copied, since the old records are not copied.
record_iternext(next=None)
registerDB(db)
restore(oid, serial, data, version, prev_txn, transaction)
set_max_oid(possible_new_max_oid)
sortKey()
Return a string that can be used to sort storage instances.
The key must uniquely identify a storage and must be the same across multiple instantiations of the same storage.
store(oid, oldserial, data, version, transaction)
supportsUndo()
supportsVersions()
tpc_abort(transaction)
tpc_begin(transaction, tid=None, status=' ')
tpc_finish(transaction, f=None)
tpc_transaction()
tpc_vote(transaction)
tryToResolveConflict(oid, committedSerial, oldSerial, newpickle, committedData='')
undo(transaction_id, transaction)
Undo a transaction, given by transaction_id.
Do so by writing new data that reverses the action taken by the transaction.
Usually, we can get by with just copying a data pointer, by writing a file position rather than a pickle. Sometimes, we may do conflict resolution, in which case we actually copy new data that results from resolution.
undoInfo(first=0, last=-20, specification=None)
undoLog(first=0, last=-20, filter=None)
versionEmpty(version)
versions(max=None)
There are no known subclasses.