b.s.m._DebugCounter(object) : class documentation

Part of bzrlib.smart.medium View In Hierarchy

An object that counts the HPSS calls made to each client medium.

When a medium is garbage-collected, or failing that when bzrlib.global_state exits, the total number of calls made on that medium are reported via trace.note.

Method __init__ Undocumented
Method track Start tracking calls made to a medium.
Method increment_call_count Undocumented
Method done Undocumented
Method flush_all Undocumented
def __init__(self):
Undocumented
def track(self, medium):
Start tracking calls made to a medium.

This only keeps a weakref to the medium, so shouldn't affect the medium's lifetime.

def increment_call_count(self, params):
Undocumented
def done(self, ref):
Undocumented
def flush_all(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-09-24 00:30:46.