Skip to main content

IRedisClientFacadeAsync

Assembly: ServiceStack.dll​
View Source​
Declaration
public interface IRedisClientFacadeAsync

Methods​

GetAllItemsFromSetAsync(String, CancellationToken)​

View Source​
Declaration
Task<HashSet<string>> GetAllItemsFromSetAsync(string setId, CancellationToken token = default(CancellationToken))
Returns​

System.Threading.Tasks.Task<System.Collections.Generic.HashSet<System.String>>

Parameters​
TypeName
System.StringsetId
System.Threading.CancellationTokentoken

StoreAsync<T>(T, CancellationToken)​

View Source​
Declaration
Task StoreAsync<T>(T item, CancellationToken token = default(CancellationToken))
Returns​

System.Threading.Tasks.Task

Parameters​
TypeName
<T>item
System.Threading.CancellationTokentoken
Type Parameters​
  • T

DeleteByIdAsync<T>(String, CancellationToken)​

View Source​
Declaration
Task DeleteByIdAsync<T>(string id, CancellationToken token = default(CancellationToken))
Returns​

System.Threading.Tasks.Task

Parameters​
TypeName
System.Stringid
System.Threading.CancellationTokentoken
Type Parameters​
  • T

GetValueFromHashAsync(String, String, CancellationToken)​

View Source​
Declaration
Task<string> GetValueFromHashAsync(string hashId, string key, CancellationToken token = default(CancellationToken))
Returns​

System.Threading.Tasks.Task<System.String>

Parameters​
TypeName
System.StringhashId
System.Stringkey
System.Threading.CancellationTokentoken

SetEntryInHashAsync(String, String, String, CancellationToken)​

View Source​
Declaration
Task SetEntryInHashAsync(string hashId, string key, string value, CancellationToken token = default(CancellationToken))
Returns​

System.Threading.Tasks.Task

Parameters​
TypeName
System.StringhashId
System.Stringkey
System.Stringvalue
System.Threading.CancellationTokentoken

RemoveEntryFromHashAsync(String, String, CancellationToken)​

View Source​
Declaration
Task RemoveEntryFromHashAsync(string hashId, string key, CancellationToken token = default(CancellationToken))
Returns​

System.Threading.Tasks.Task

Parameters​
TypeName
System.StringhashId
System.Stringkey
System.Threading.CancellationTokentoken

AddItemToSetAsync(String, String, CancellationToken)​

View Source​
Declaration
Task AddItemToSetAsync(string setId, string item, CancellationToken token = default(CancellationToken))
Returns​

System.Threading.Tasks.Task

Parameters​
TypeName
System.StringsetId
System.Stringitem
System.Threading.CancellationTokentoken

AsAsync<T>()​

View Source​
Declaration
ITypedRedisClientFacadeAsync<T> AsAsync<T>()
Returns​

ServiceStack.Auth.ITypedRedisClientFacadeAsync<T>

Type Parameters​
  • T