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.
public class LockRedisProvider : YetaWF.Core.IO.ILockProvider, YetaWF.Core.Support.IInitializeApplicationStartupFirstNodeOnly;
|Dispose||Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.|
|Equals||Determines whether the specified object is equal to the current object.|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.|
|GetHashCode||Serves as the default hash function.|
|GetType||Gets the Type of the current instance.|
|InitializeFirstNodeStartupAsync||Called when the first node of a multi-instance site is starting up.|
|LockResourceAsync||Lock a key by name until disposed.|
|MemberwiseClone||Creates a shallow copy of the current Object.|
|ReferenceEquals||Determines whether the specified Object instances are the same instance.|
|ToString||Returns a string that represents the current object.|