TrackingRedisClientsManager
Tracks each IRedisClient instance allocated from the IRedisClientsManager logging when they are allocated and disposed. Periodically writes the allocated instances to the log for diagnostic purposes.
Assembly: ServiceStack.Redis.dll
View Source
Declaration
public class TrackingRedisClientsManager : IRedisClientsManager, IDisposable, IHasStats
Properties
Stats
View Source
Declaration
public Dictionary<string, long> Stats { get; }
RedisResolver
View Source
Declaration
public IRedisResolver RedisResolver { get; }
Methods
Dispose()
View Source
Declaration
public void Dispose()
GetClient()
View Source
Declaration
public IRedisClient GetClient()
Returns
ServiceStack.Redis.IRedisClient
GetReadOnlyClient()
View Source
Declaration
public IRedisClient GetReadOnlyClient()
Returns
ServiceStack.Redis.IRedisClient
GetCacheClient()
View Source
Declaration
public ICacheClient GetCacheClient()
Returns
ServiceStack.Caching.ICacheClient
GetReadOnlyCacheClient()
View Source
Declaration
public ICacheClient GetReadOnlyCacheClient()
Returns
ServiceStack.Caching.ICacheClient
Implements
- ServiceStack.Redis.IRedisClientsManager
System.IDisposable
- ServiceStack.Redis.IHasStats