Module rdflib.store.AuditableStorage
This wrapper intercepts calls through the store interface
And implements thread-safe logging of destructive operations (adds / removes) in reverse.
This is persisted on the store instance and the reverse operations are executed
In order to return the store to the state it was when the transaction began
Since the reverse operations are persisted on the store, the store itself acts
as a transaction. Calls to commit or rollback, flush the list of reverse operations
This provides thread-safe atomicity and isolation (assuming concurrent operations occur with different
store instances), but no durability (transactions are persisted in memory and wont
be available to reverse operations after the systeme fails): A and I out of ACID.
destructiveOpLocks
-
- Type:
-
dict
- Value:
{'add': None, 'remove': None}
|
|