aboutsummaryrefslogtreecommitdiff
path: root/lib/VNLib.Data.Caching.ObjectCache/src/IBlobCacheBucket.cs
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-03-11 02:04:31 -0500
committerLibravatar vnugent <public@vaughnnugent.com>2023-03-11 02:04:31 -0500
commitdb4584c37380f1826986b3acfe35bbf92693dfc6 (patch)
tree3a264c95c6f3bf74453662cc8d180a9d570bfbfe /lib/VNLib.Data.Caching.ObjectCache/src/IBlobCacheBucket.cs
parenta27a4ce58d6e09b34027b30d0c5c988e3112a54d (diff)
Persistant cache abstraction and runtime loading
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, 8 insertions, 3 deletions
diff --git a/lib/VNLib.Data.Caching.ObjectCache/src/IBlobCacheBucket.cs b/lib/VNLib.Data.Caching.ObjectCache/src/IBlobCacheBucket.cs
index 4876c5f..dbe095c 100644
--- a/lib/VNLib.Data.Caching.ObjectCache/src/IBlobCacheBucket.cs
+++ b/lib/VNLib.Data.Caching.ObjectCache/src/IBlobCacheBucket.cs
@@ -3,10 +3,10 @@
*
* Library: VNLib
* Package: VNLib.Data.Caching.ObjectCache
-* File: ObjectCacheStore.cs
+* File: IBlobCacheBucket.cs
*
-* ObjectCacheStore.cs is part of VNLib.Data.Caching.ObjectCache which is part of the larger
-* VNLib collection of libraries and utilities.
+* IBlobCacheBucket.cs is part of VNLib.Data.Caching.ObjectCache which
+* is part of the larger VNLib collection of libraries and utilities.
*
* VNLib.Data.Caching.ObjectCache is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
@@ -35,6 +35,11 @@ namespace VNLib.Data.Caching.ObjectCache
public interface IBlobCacheBucket : IDisposable
{
/// <summary>
+ /// The unique integer id of a bucket within an <see cref="IBlobCacheTable"/>
+ /// </summary>
+ 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"/>