diff --git a/libs/storage/Tsavorite/cs/src/core/Allocator/ErrorList.cs b/libs/storage/Tsavorite/cs/src/core/Allocator/ErrorList.cs index 05e52cc236..ad9075f50d 100644 --- a/libs/storage/Tsavorite/cs/src/core/Allocator/ErrorList.cs +++ b/libs/storage/Tsavorite/cs/src/core/Allocator/ErrorList.cs @@ -5,7 +5,7 @@ namespace Tsavorite.core { - class ErrorList + internal sealed class ErrorList { private List errorList; diff --git a/libs/storage/Tsavorite/cs/src/core/Allocator/MemoryPageScanIterator.cs b/libs/storage/Tsavorite/cs/src/core/Allocator/MemoryPageScanIterator.cs index 140a50c2cd..e2bf015f37 100644 --- a/libs/storage/Tsavorite/cs/src/core/Allocator/MemoryPageScanIterator.cs +++ b/libs/storage/Tsavorite/cs/src/core/Allocator/MemoryPageScanIterator.cs @@ -11,7 +11,7 @@ namespace Tsavorite.core /// /// /// - class MemoryPageScanIterator : ITsavoriteScanIterator + internal sealed class MemoryPageScanIterator : ITsavoriteScanIterator { readonly Record[] page; readonly long pageStartAddress; diff --git a/libs/storage/Tsavorite/cs/src/core/Allocator/PendingFlushList.cs b/libs/storage/Tsavorite/cs/src/core/Allocator/PendingFlushList.cs index 91e7163964..90fc78bb2e 100644 --- a/libs/storage/Tsavorite/cs/src/core/Allocator/PendingFlushList.cs +++ b/libs/storage/Tsavorite/cs/src/core/Allocator/PendingFlushList.cs @@ -5,7 +5,7 @@ namespace Tsavorite.core { - sealed class PendingFlushList + internal sealed class PendingFlushList { public readonly LinkedList> list; diff --git a/libs/storage/Tsavorite/cs/src/core/Allocator/WorkQueueFIFO.cs b/libs/storage/Tsavorite/cs/src/core/Allocator/WorkQueueFIFO.cs index 5224855629..fc3b0fa72c 100644 --- a/libs/storage/Tsavorite/cs/src/core/Allocator/WorkQueueFIFO.cs +++ b/libs/storage/Tsavorite/cs/src/core/Allocator/WorkQueueFIFO.cs @@ -12,7 +12,7 @@ namespace Tsavorite.core /// Shared work queue that ensures one worker at any given time. Uses FIFO ordering of work. /// /// - class WorkQueueFIFO : IDisposable + internal sealed class WorkQueueFIFO : IDisposable { const int kMaxQueueSize = 1 << 30; readonly ConcurrentQueue _queue; diff --git a/libs/storage/Tsavorite/cs/src/core/Allocator/WorkQueueLIFO.cs b/libs/storage/Tsavorite/cs/src/core/Allocator/WorkQueueLIFO.cs index a331fd26a2..fc35ca739c 100644 --- a/libs/storage/Tsavorite/cs/src/core/Allocator/WorkQueueLIFO.cs +++ b/libs/storage/Tsavorite/cs/src/core/Allocator/WorkQueueLIFO.cs @@ -12,7 +12,7 @@ namespace Tsavorite.core /// Shared work queue that ensures one worker at any given time. Uses LIFO ordering of work. /// /// - class WorkQueueLIFO : IDisposable + internal sealed class WorkQueueLIFO : IDisposable { const int kMaxQueueSize = 1 << 30; readonly ConcurrentStack _queue; diff --git a/libs/storage/Tsavorite/cs/src/core/Device/AsyncPool.cs b/libs/storage/Tsavorite/cs/src/core/Device/AsyncPool.cs index 4b4ab61a94..99432c9e31 100644 --- a/libs/storage/Tsavorite/cs/src/core/Device/AsyncPool.cs +++ b/libs/storage/Tsavorite/cs/src/core/Device/AsyncPool.cs @@ -13,7 +13,7 @@ namespace Tsavorite.core /// Supports sync get (TryGet) for fast path /// /// - public class AsyncPool : IDisposable where T : IDisposable + internal sealed class AsyncPool : IDisposable where T : IDisposable { readonly int size; readonly Func creator;