diff options
author | vnugent <public@vaughnnugent.com> | 2024-02-13 14:46:35 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-02-13 14:46:35 -0500 |
commit | 456ead9bc8b0f61357bae93152ad0403c4940101 (patch) | |
tree | 74cddbca5eebcec7948e706bd7b742b19e55eeb6 /lib/VNLib.Data.Caching.ObjectCache/src/IPersistantCacheStore.cs | |
parent | a481d63f964a5d5204cac2e95141f37f9a28d573 (diff) |
fix: #1 shared cluster index on linux & latested core updates
Diffstat (limited to 'lib/VNLib.Data.Caching.ObjectCache/src/IPersistantCacheStore.cs')
-rw-r--r-- | lib/VNLib.Data.Caching.ObjectCache/src/IPersistantCacheStore.cs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/VNLib.Data.Caching.ObjectCache/src/IPersistantCacheStore.cs b/lib/VNLib.Data.Caching.ObjectCache/src/IPersistantCacheStore.cs index 40f39f2..3824735 100644 --- a/lib/VNLib.Data.Caching.ObjectCache/src/IPersistantCacheStore.cs +++ b/lib/VNLib.Data.Caching.ObjectCache/src/IPersistantCacheStore.cs @@ -1,5 +1,5 @@ /* -* Copyright (c) 2023 Vaughn Nugent +* Copyright (c) 2024 Vaughn Nugent * * Library: VNLib * Package: VNLib.Data.Caching.ObjectCache @@ -54,20 +54,16 @@ namespace VNLib.Data.Caching.ObjectCache /// This method is called while the bucket lock is held. This call is maded /// during an <see cref="IBlobCache.Add(string, CacheEntry)"/> method call. /// </para> - /// <para> - /// The <see cref="IMemoryCacheEntryFactory"/> should be used to create the - /// cache entry for the return value. Once this method returns, the caller owns the new <see cref="CacheEntry"/> - /// </para> /// </summary> /// <param name="key">The key identifying the entry to promot</param> - /// <param name="factory">The cache entry factory</param> + /// <param name="memManager">The cache table memory manager</param> /// <param name="bucketId">The id of the bucket requesting the operation</param> /// <param name="entry">The newly created entry when data is found</param> /// <returns> /// A value inidcating if the entry was successfully recovered from the persistant storage and /// was successfully promoted. /// </returns> - bool OnCacheMiss(uint bucketId, string key, IMemoryCacheEntryFactory factory, out CacheEntry entry); + bool OnCacheMiss(uint bucketId, string key, ICacheEntryMemoryManager memManager, out CacheEntry entry); /// <summary> /// Removes an entry from the backing store |