b.g._LazyGroupContentManager(object) : class documentation

Part of bzrlib.groupcompress View In Hierarchy

This manages a group of _LazyGroupCompressFactory objects.
Method __init__ Undocumented
Method add_factory Undocumented
Method get_record_stream Get a record for all keys added so far.
Method check_is_well_utilized Is the current block considered 'well utilized'?
Class Method from_bytes Undocumented
Method _get_compressor_settings Undocumented
Method _trim_block Create a new GroupCompressBlock, with just some of the content.
Method _make_group_compressor Undocumented
Method _rebuild_block Create a new GroupCompressBlock with only the referenced texts.
Method _prepare_for_extract A _LazyGroupCompressFactory is about to extract to fulltext.
Method _check_rebuild_action Check to see if our block should be repacked.
Method _check_rebuild_block Undocumented
Method _wire_bytes Return a byte stream suitable for transmitting over the wire.
def __init__(self, block, get_compressor_settings=None):
Undocumented
def _get_compressor_settings(self):
Undocumented
def add_factory(self, key, parents, start, end):
Undocumented
def get_record_stream(self):
Get a record for all keys added so far.
def _trim_block(self, last_byte):
Create a new GroupCompressBlock, with just some of the content.
def _make_group_compressor(self):
Undocumented
def _rebuild_block(self):
Create a new GroupCompressBlock with only the referenced texts.
def _prepare_for_extract(self):
A _LazyGroupCompressFactory is about to extract to fulltext.
def _check_rebuild_action(self):
Check to see if our block should be repacked.
def check_is_well_utilized(self):
Is the current block considered 'well utilized'?

This heuristic asks if the current block considers itself to be a fully developed group, rather than just a loose collection of data.

def _check_rebuild_block(self):
Undocumented
def _wire_bytes(self):
Return a byte stream suitable for transmitting over the wire.
@classmethod
def from_bytes(cls, bytes):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.