Interface IRedisAsync
- Namespace
- StackExchange.Redis
- Assembly
- StackExchange.Redis.StrongName.dll
Common operations available to all redis connections
public interface IRedisAsync
Properties
Multiplexer
Gets the multiplexer that created this instance
ConnectionMultiplexer Multiplexer { get; }
Property Value
Methods
PingAsync(CommandFlags)
This command is often used to test if a connection is still alive, or to measure latency.
Task<TimeSpan> PingAsync(CommandFlags flags = CommandFlags.None)
Parameters
flagsCommandFlags
Returns
Remarks
TryWait(Task)
Wait for a given asynchronous operation to complete (or timeout), reporting which
bool TryWait(Task task)
Parameters
taskTask
Returns
Wait(Task)
Wait for a given asynchronous operation to complete (or timeout)
void Wait(Task task)
Parameters
taskTask
WaitAll(params Task[])
Wait for the given asynchronous operations to complete (or timeout)
void WaitAll(params Task[] tasks)
Parameters
tasksTask[]
Wait<T>(Task<T>)
Wait for a given asynchronous operation to complete (or timeout)
T Wait<T>(Task<T> task)
Parameters
taskTask<T>
Returns
- T
Type Parameters
T