Skip to main content

IRedisHashAsync

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisHashAsync : IHasStringId, IHasId<string>

Methods

AddIfNotExistsAsync(KeyValuePair<String, String>, CancellationToken)

View Source
Declaration
ValueTask<bool> AddIfNotExistsAsync(KeyValuePair<string, string> item, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.Collections.Generic.KeyValuePair<System.String,System.String>item
System.Threading.CancellationTokentoken

AddRangeAsync(IEnumerable<KeyValuePair<String, String>>, CancellationToken)

View Source
Declaration
ValueTask AddRangeAsync(IEnumerable<KeyValuePair<string, string>> items, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,System.String>>items
System.Threading.CancellationTokentoken

IncrementValueAsync(String, Int32, CancellationToken)

View Source
Declaration
ValueTask<long> IncrementValueAsync(string key, int incrementBy, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.Stringkey
System.Int32incrementBy
System.Threading.CancellationTokentoken

CountAsync(CancellationToken)

View Source
Declaration
ValueTask<int> CountAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int32>

Parameters
TypeName
System.Threading.CancellationTokentoken

AddAsync(KeyValuePair<String, String>, CancellationToken)

View Source
Declaration
ValueTask AddAsync(KeyValuePair<string, string> item, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Collections.Generic.KeyValuePair<System.String,System.String>item
System.Threading.CancellationTokentoken

AddAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask AddAsync(string key, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

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

ClearAsync(CancellationToken)

View Source
Declaration
ValueTask ClearAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

ContainsKeyAsync(String, CancellationToken)

View Source
Declaration
ValueTask<bool> ContainsKeyAsync(string key, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.Stringkey
System.Threading.CancellationTokentoken

RemoveAsync(String, CancellationToken)

View Source
Declaration
ValueTask<bool> RemoveAsync(string key, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.Stringkey
System.Threading.CancellationTokentoken