Namespace PoeShared.Services
Classes
FileLock
KeyboardLayout
MemoryPool
Provides a resource pool that enables reusing instances of arrays.
MimeContentTypeProvider
Used to look up MIME types given a file path
NamedLock
Class that implements locking with timeout and logging of locked threads Logging is enabled only in debug configuration due to huge performance input
ResourceChooser<T>
ResourcePool<TKey, TResource>
SevenZipExtractArguments
SharedArrayPool<T>
https://medium.com/@epeshk/the-big-performance-difference-between-arraypools-in-net-b25c9fc5e31d
SharedResourceBase
SharedResourceBase<T>
SharedResourceLatch
SharedResourceRepository<TKey, TResource>
SharedResource<T>
Manages a shared resource of type T
, providing controlled access and ensuring efficient reuse.
This class is designed to handle scenarios where a resource is expensive to create and should be reused
for as long as it is viable. The resource is created upon first request and subsequently "rented" out
for use. The class ensures that the same resource instance is reused across multiple requests, maximizing efficiency.