b.t.WriteTransaction(ReadOnlyTransaction) : class documentation

Part of bzrlib.transactions View In Hierarchy

A write transaction

Method finish Clean up this transaction.
Method __init__ Undocumented
Method is_dirty Return True if an_object is dirty.
Method register_dirty Register an_object as being dirty.
Method writeable Write transactions allow writes.

Inherited from ReadOnlyTransaction:

Method is_clean Return True if an_object is clean.
Method register_clean Register an_object as being clean.
Method set_cache_size Set a new cache size.
Method _trim Trim the cache back if needed.
def finish(self):
Clean up this transaction.
def __init__(self):
Undocumented
def is_dirty(self, an_object):
Return True if an_object is dirty.
def register_dirty(self, an_object):
Register an_object as being dirty.

Dirty objects are not ejected from the identity map until the transaction finishes and get informed when the transaction finishes.

def writeable(self):
Write transactions allow writes.
API Documentation for Bazaar, generated by pydoctor at 2019-10-20 00:34:54.