def __init__(self): # type: () -> None super(MultiHostSections, self).__init__() self._config_cache = config.get_config_cache() self._multi_host_sections = {} # type: MultiHostSectionsData self._section_content_cache = caching.DictCache() # This is not quite the same as section_content_cache. # It is introduced for the changed data handling with the migration # to 'agent_based' plugins. # It holy holds the result of individual calls of the parse_function. self._parsed_renamed_sections = caching.DictCache()
def __init__(self, data: Optional[Dict[HostKey, HostSections]] = None) -> None: super().__init__() self._data: Dict[HostKey, HostSections] = {} if data is None else data self._section_content_cache = caching.DictCache() # The following are not quite the same as section_content_cache. # They are introduced for the changed data handling with the migration # to 'agent_based' plugins. # This hodls the result of the parsing of individual raw sections self._parsing_results = caching.DictCache() # This hodls the result of the superseding section along with the # cache info of the raw section that was used. self._parsed_sections = caching.DictCache()
def __init__( self, data: Optional[Dict[HostKey, ABCHostSections]] = None) -> None: super(MultiHostSections, self).__init__() self._data: Dict[HostKey, ABCHostSections] = {} if data is None else data self._config_cache = config.get_config_cache() self._section_content_cache = caching.DictCache() # This is not quite the same as section_content_cache. # It is introduced for the changed data handling with the migration # to 'agent_based' plugins. # It holy holds the result of individual calls of the parse_function. self._parsed_sections = caching.DictCache() self._parsed_to_raw_map = caching.DictCache()
def __init__(self): # type: () -> None super(MultiHostSections, self).__init__() self._config_cache = config.get_config_cache() self._multi_host_sections = {} # type: MultiHostSectionsData self._section_content_cache = caching.DictCache()
def __init__(self): super(MultiHostSections, self).__init__() self._config_cache = config.get_config_cache() self._multi_host_sections = {} self._section_content_cache = caching.DictCache()