Hide

YetaWF.Caching Package Documentation

Display
Print

YetaWF.Modules.Caching.DataProvider.LockRedisProvider Class

Redis locking provider. An instance of this class is instantiated during application startup and registers low-level data providers implementing locking using Redis.

Uses a Redis server for locking.

Namespace: YetaWF.Modules.Caching.DataProvider
Assembly: YetaWF.Caching

Inheritance

Syntax

public class LockRedisProvider : YetaWF.Core.IO.ILockProvider,
    YetaWF.Core.Support.IInitializeApplicationStartupFirstNodeOnly;

Constructors

PublicLockRedisProviderConstructor.

Methods

PublicDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
PublicInitializeFirstNodeStartupAsyncCalled when the first node of a multi-instance site is starting up.
PublicLockResourceAsyncLock a key by name until disposed.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

See Also YetaWF.Caching PackageYetaWF.Core