Table of Contents

Namespace Acuit.Pinpoint.ResourceManagement

Classes

DerivedReferencedResource<TKey, TValue, TSourceValue>

A base class for implementing IReferencedResource<TKey, TValue> for resources that derive their values from other resource values.

DistributedCacheSerializerServiceExtensions

Extensions for IServiceProvider for working with distributed cache serializers.

FaultTolerantReferencedResource<TKey, TValue>

A wrapper class for another IReferencedResource<TKey, TValue> that provides fault tolerance for resource values via a cache. When a resource cannot be obtained from its source provider, the cached value is provided.

FaultTolerantResourceProvider<TKey, TValue>

A base class for implementing a resource provider that provides fault tolerance for other resource values via a cache. When a resource cannot be obtained from its source provider, the cached value is provided.

LastReferenceRemovedEventArgs<TKey>

Event arguments for the LastReferenceRemoved event.

PolledReferencedResource<TKey, TValue>

A base class for implementing IReferencedResource<TKey, TValue> for resources that must be periodically polled to retrieve updated values.

ReferencedResource<TKey, TValue>

A base class for implementing IReferencedResource<TKey, TValue> that maintains the list of active references and manages their potentially simultaneous requests for resource values.

ResourceChangeTracker

A helper class that provides change tokens for a resource that can change over time.

ResourceProvider<TKey, TValue, TResource>

A base class for implementing resource providers.

Interfaces

IDistributedCacheSerializerFactory

Factory provider for per-type IDistributedCacheSerializer<T> instances.

IDistributedCacheSerializer<T>

Provides per-type serialization and deserialization support for FaultTolerantReferencedResource<TKey, TValue>.

IReferencedResource<TKey, TValue>

The interface for resources referenced by resource providers derived from ResourceProvider<TKey, TValue, TResource>.

IResourceReference<TValue>

A reference to a resource. When the reference is no longer needed, it should be disposed.