using Microsoft.Extensions.Caching.Memory; namespace FrostFS.SDK.Client; internal static class Caches { private static readonly IMemoryCache _ownersCache = new MemoryCache(new MemoryCacheOptions { // TODO: get from options? SizeLimit = 256 }); private static readonly IMemoryCache _containersCache = new MemoryCache(new MemoryCacheOptions { // TODO: get from options? SizeLimit = 1024 }); internal static IMemoryCache Owners => _ownersCache; internal static IMemoryCache Containers => _containersCache; }