b.g._BatchingBlockFetcher(object) : class documentation

Part of bzrlib.groupcompress View In Hierarchy

Fetch group compress blocks in batches.
Instance Variablestotal_bytesint of expected number of bytes needed to fetch the currently pending batch.
Method __init__ Undocumented
Method add_key Add another to key to fetch.
Method yield_factories Yield factories for keys added since the last yield. They will be
Method _flush_manager Undocumented
def __init__(self, gcvf, locations, get_compressor_settings=None):
Undocumented
def add_key(self, key):
Add another to key to fetch.
ReturnsThe estimated number of bytes needed to fetch the batch so far.
def _flush_manager(self):
Undocumented
def yield_factories(self, full_flush=False):
Yield factories for keys added since the last yield. They will be returned in the order they were added via add_key.
Parametersfull_flushby default, some results may not be returned in case they can be part of the next batch. If full_flush is True, then all results are returned.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.