aboutsummaryrefslogtreecommitdiff
path: root/lib/VNLib.Data.Caching.ObjectCache/src/IBlobCacheBucket.cs
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-10-14 15:50:46 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2023-10-14 15:50:46 -0400
commit3c353afe4dffa3da9c96ef25b02f0004676afe5f (patch)
tree1e3c5889734c029701205c55fa842552ded81c2b /lib/VNLib.Data.Caching.ObjectCache/src/IBlobCacheBucket.cs
parent531baabc8289eeaa2aad63cb0e86cc3dd978d97e (diff)
experimential expansion and performance changes
Diffstat (limited to 'lib/VNLib.Data.Caching.ObjectCache/src/IBlobCacheBucket.cs')
-rw-r--r--lib/VNLib.Data.Caching.ObjectCache/src/IBlobCacheBucket.cs11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/VNLib.Data.Caching.ObjectCache/src/IBlobCacheBucket.cs b/lib/VNLib.Data.Caching.ObjectCache/src/IBlobCacheBucket.cs
index dbe095c..b506600 100644
--- a/lib/VNLib.Data.Caching.ObjectCache/src/IBlobCacheBucket.cs
+++ b/lib/VNLib.Data.Caching.ObjectCache/src/IBlobCacheBucket.cs
@@ -40,15 +40,6 @@ namespace VNLib.Data.Caching.ObjectCache
uint Id { get; }
/// <summary>
- /// Gets a <see cref="CacheBucketHandle"/> that holds an exclusive lock
- /// for the current bucekt and holds a referrence to the stored
- /// <see cref="IBlobCache"/>
- /// </summary>
- /// <param name="cancellation">A token to cancel the wait operation</param>
- /// <returns>A <see cref="CacheBucketHandle"/> that holds the <see cref="IBlobCache"/> referrence</returns>
- ValueTask<CacheBucketHandle> WaitAsync(CancellationToken cancellation);
-
- /// <summary>
/// Allows for waiting for the cache directly, IE without receiving a lock handle
/// </summary>
/// <param name="cancellation"></param>
@@ -56,7 +47,7 @@ namespace VNLib.Data.Caching.ObjectCache
ValueTask<IBlobCache> ManualWaitAsync(CancellationToken cancellation);
/// <summary>
- /// Releases an exlcusive lock on the current bucket, DO NOT CALL BY USER CODE
+ /// Releases an exlcusive lock on the current bucket that was obtained by <see cref="ManualWaitAsync(CancellationToken)"/>
/// </summary>
void Release();
}