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
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
StoreAsync<T>(T, CancellationToken)
View Source
Declaration
Task StoreAsync<T>(T item, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
<T> | item |
System.Threading.CancellationToken | token |
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
Type | Name |
---|---|
System.String | id |
System.Threading.CancellationToken | token |
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
Type | Name |
---|---|
System.String | hashId |
System.String | key |
System.Threading.CancellationToken | token |
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
Type | Name |
---|---|
System.String | hashId |
System.String | key |
System.String | value |
System.Threading.CancellationToken | token |
RemoveEntryFromHashAsync(String, String, CancellationToken)
View Source
Declaration
Task RemoveEntryFromHashAsync(string hashId, string key, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.String | hashId |
System.String | key |
System.Threading.CancellationToken | token |
AddItemToSetAsync(String, String, CancellationToken)
View Source
Declaration
Task AddItemToSetAsync(string setId, string item, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | item |
System.Threading.CancellationToken | token |
AsAsync<T>()
View Source
Declaration
ITypedRedisClientFacadeAsync<T> AsAsync<T>()
Returns
ServiceStack.Auth.ITypedRedisClientFacadeAsync<T>
Type Parameters
T