Interface IRedis
- Namespace
- StackExchange.Redis
- Assembly
- StackExchange.Redis.StrongName.dll
Common operations available to all redis connections
public interface IRedis : IRedisAsync
- Inherited Members
Methods
Ping(CommandFlags)
This command is often used to test if a connection is still alive, or to measure latency.
TimeSpan Ping(CommandFlags flags = CommandFlags.None)
Parameters
flags
CommandFlags
Returns
- TimeSpan
The observed latency.