From 3c353afe4dffa3da9c96ef25b02f0004676afe5f Mon Sep 17 00:00:00 2001 From: vnugent Date: Sat, 14 Oct 2023 15:50:46 -0400 Subject: experimential expansion and performance changes --- plugins/ObjectCacheServer/src/Cache/CacheSystemUtil.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/ObjectCacheServer/src/Cache/CacheSystemUtil.cs') diff --git a/plugins/ObjectCacheServer/src/Cache/CacheSystemUtil.cs b/plugins/ObjectCacheServer/src/Cache/CacheSystemUtil.cs index 2071d2b..a02fe75 100644 --- a/plugins/ObjectCacheServer/src/Cache/CacheSystemUtil.cs +++ b/plugins/ObjectCacheServer/src/Cache/CacheSystemUtil.cs @@ -30,7 +30,6 @@ using System.Collections.Generic; using System.Runtime.CompilerServices; using VNLib.Plugins; -using VNLib.Utils.Memory; using VNLib.Plugins.Extensions.Loading; namespace VNLib.Data.Caching.ObjectCache.Server.Cache @@ -52,7 +51,7 @@ namespace VNLib.Data.Caching.ObjectCache.Server.Cache /// The cache configuration object /// The loaded implementation /// - public static IBlobCacheTable LoadMemoryCacheSystem(this PluginBase plugin, IConfigScope config, IUnmangedHeap heap, CacheConfiguration cacheConf) + public static IBlobCacheTable LoadMemoryCacheSystem(this PluginBase plugin, IConfigScope config, ICacheMemoryManagerFactory heap, CacheConfiguration cacheConf) { //First, try to load persitant cache store PersistantCacheManager? pCManager = GetPersistantStore(plugin, config); @@ -79,7 +78,7 @@ namespace VNLib.Data.Caching.ObjectCache.Server.Cache return table; } - private static IBlobCacheTable GetInternalBlobCache(IUnmangedHeap heap, CacheConfiguration config, IPersistantCacheStore? store) + private static IBlobCacheTable GetInternalBlobCache(ICacheMemoryManagerFactory heap, CacheConfiguration config, IPersistantCacheStore? store) { return new BlobCacheTable(config.BucketCount, config.MaxCacheEntries, heap, store); } -- cgit