load method

  1. @override
void load(
  1. CacheModelBackingStoreImage image, {
  2. bool replace = false,
})
override

Validates and atomically overlays or replaces the sparse backing state.

Implementation

@override
void load(CacheModelBackingStoreImage image, {bool replace = false}) {
  _validateImage(image);
  _storage.loadSymbolicState({
    for (final entry in image.entries.entries)
      _address(entry.key): _pack(entry.value)
  }, const [], replace: replace);
}