addStorage method
Registers a CacheStorage instance within the registry.
Registered storages serve as underlying physical stores for cache data. Multiple storages can coexist, providing a unified access layer through composite cache management.
Implementation
@override
void addStorage(CacheStorage cacheStorage) {
return synchronized(_cacheStorages, () {
_cacheStorages.remove(cacheStorage);
_cacheStorages.add(cacheStorage);
});
}