code: def _FlushCache(cls, format_categories):
      
      if definitions.FORMAT_CATEGORY_ARCHIVE in format_categories:
        cls._archive_remainder_list = None
        cls._archive_scanner = None
        cls._archive_store = None
  
      if definitions.FORMAT_CATEGORY_COMPRESSED_STREAM in format_categories:
        cls._compressed_stream_remainder_list = None
        cls._compressed_stream_scanner = None
        cls._compressed_stream_store = None
  
      if definitions.FORMAT_CATEGORY_FILE_SYSTEM in format_categories:
        cls._file_system_remainder_list = None
        cls._file_system_scanner = None
        cls._file_system_store = None
  
      if definitions.FORMAT_CATEGORY_STORAGE_MEDIA_IMAGE in format_categories:
        cls._storage_media_image_remainder_list = None
        cls._storage_media_image_scanner = None
        cls._storage_media_image_store = None
  
      if definitions.FORMAT_CATEGORY_VOLUME_SYSTEM in format_categories:
        cls._volume_system_remainder_list = None
        cls._volume_system_scanner = None
        cls._volume_system_store = None
docs: Flushes the cached objects for the specified format categories.
  
      Args:
        format_categories (set[str]): format categories.