IRedisClientAsync
Assembly: ServiceStack.Interfaces.dll
View Source
public interface IRedisClientAsync : IEntityStoreAsync, ICacheClientAsync, IRemoveByPatternAsync
Properties
Lists
View Source
IHasNamed<IRedisListAsync> Lists { get; }
Sets
View Source
IHasNamed<IRedisSetAsync> Sets { get; }
SortedSets
View Source
IHasNamed<IRedisSortedSetAsync> SortedSets { get; }
Hashes
View Source
IHasNamed<IRedisHashAsync> Hashes { get; }
Db
View Source
long Db { get; }
Host
View Source
string Host { get; }
Port
View Source
int Port { get; }
ConnectTimeout
View Source
int ConnectTimeout { get; set; }
RetryTimeout
View Source
int RetryTimeout { get; set; }
RetryCount
View Source
int RetryCount { get; set; }
SendTimeout
View Source
int SendTimeout { get; set; }
Username
View Source
string Username { get; set; }
Password
View Source
string Password { get; set; }
HadExceptions
View Source
bool HadExceptions { get; }
Methods
SelectAsync(Int64, CancellationToken)
View Source
ValueTask SelectAsync(long db, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Int64 | db |
System.Threading.CancellationToken | token |
DbSizeAsync(CancellationToken)
View Source
ValueTask<long> DbSizeAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
InfoAsync(CancellationToken)
View Source
ValueTask<Dictionary<string, string>> InfoAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.Dictionary<System.String,System.String>>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
GetServerTimeAsync(CancellationToken)
View Source
ValueTask<DateTime> GetServerTimeAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.DateTime>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
LastSaveAsync(CancellationToken)
View Source
ValueTask<DateTime> LastSaveAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.DateTime>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
PingAsync(CancellationToken)
View Source
ValueTask<bool> PingAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
EchoAsync(String, CancellationToken)
View Source
ValueTask<string> EchoAsync(string text, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | text |
System.Threading.CancellationToken | token |
CustomAsync(Object[], CancellationToken)
View Source
ValueTask<RedisText> CustomAsync(object[] cmdWithArgs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.RedisText>
Parameters
Type | Name |
---|---|
System.Object[] | cmdWithArgs |
System.Threading.CancellationToken | token |
CustomAsync(Object[])
View Source
ValueTask<RedisText> CustomAsync(params object[] cmdWithArgs)
Returns
ValueTask<ServiceStack.Redis.RedisText>
Parameters
Type | Name |
---|---|
System.Object[] | cmdWithArgs |
ForegroundSaveAsync(CancellationToken)
View Source
ValueTask ForegroundSaveAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
BackgroundSaveAsync(CancellationToken)
View Source
ValueTask BackgroundSaveAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
ShutdownAsync(CancellationToken)
View Source
ValueTask ShutdownAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
ShutdownNoSaveAsync(CancellationToken)
View Source
ValueTask ShutdownNoSaveAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
BackgroundRewriteAppendOnlyFileAsync(CancellationToken)
View Source
ValueTask BackgroundRewriteAppendOnlyFileAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
FlushDbAsync(CancellationToken)
View Source
ValueTask FlushDbAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
GetServerRoleAsync(CancellationToken)
View Source
ValueTask<RedisServerRole> GetServerRoleAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.RedisServerRole>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
GetServerRoleInfoAsync(CancellationToken)
View Source
ValueTask<RedisText> GetServerRoleInfoAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.RedisText>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
GetConfigAsync(String, CancellationToken)
View Source
ValueTask<string> GetConfigAsync(string item, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | item |
System.Threading.CancellationToken | token |
SetConfigAsync(String, String, CancellationToken)
View Source
ValueTask SetConfigAsync(string item, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | item |
System.String | value |
System.Threading.CancellationToken | token |
SaveConfigAsync(CancellationToken)
View Source
ValueTask SaveConfigAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
ResetInfoStatsAsync(CancellationToken)
View Source
ValueTask ResetInfoStatsAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
GetClientAsync(CancellationToken)
View Source
ValueTask<string> GetClientAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
SetClientAsync(String, CancellationToken)
View Source
ValueTask SetClientAsync(string name, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | name |
System.Threading.CancellationToken | token |
KillClientAsync(String, CancellationToken)
View Source
ValueTask KillClientAsync(string address, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | address |
System.Threading.CancellationToken | token |
KillClientsAsync(String, String, Nullable<RedisClientType>, Nullable<Boolean>, CancellationToken)
View Source
ValueTask<long> KillClientsAsync(string fromAddress = null, string withId = null, RedisClientType? ofType = null, bool? skipMe = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | fromAddress |
System.String | withId |
System.Nullable<ServiceStack.Redis.RedisClientType> | ofType |
System.Nullable<System.Boolean> | skipMe |
System.Threading.CancellationToken | token |
GetClientsInfoAsync(CancellationToken)
View Source
ValueTask<List<Dictionary<string, string>>> GetClientsInfoAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.Collections.Generic.Dictionary<System.String,System.String>>>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
PauseAllClientsAsync(TimeSpan, CancellationToken)
View Source
ValueTask PauseAllClientsAsync(TimeSpan duration, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.TimeSpan | duration |
System.Threading.CancellationToken | token |
GetAllKeysAsync(CancellationToken)
View Source
ValueTask<List<string>> GetAllKeysAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
UrnKey<T>(T)
View Source
string UrnKey<T>(T value)
Returns
System.String
Parameters
Type | Name |
---|---|
<T> | value |
Type Parameters
T
UrnKey<T>(Object)
View Source
string UrnKey<T>(object id)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Object | id |
Type Parameters
T
UrnKey(Type, Object)
View Source
string UrnKey(Type type, object id)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Type | type |
System.Object | id |
SetAllAsync(IEnumerable<String>, IEnumerable<String>, CancellationToken)
View Source
ValueTask SetAllAsync(IEnumerable<string> keys, IEnumerable<string> values, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<System.String> | keys |
System.Collections.Generic.IEnumerable<System.String> | values |
System.Threading.CancellationToken | token |
SetAllAsync(IDictionary<String, String>, CancellationToken)
View Source
ValueTask SetAllAsync(IDictionary<string, string> map, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Collections.Generic.IDictionary<System.String,System.String> | map |
System.Threading.CancellationToken | token |
SetValuesAsync(IDictionary<String, String>, CancellationToken)
View Source
ValueTask SetValuesAsync(IDictionary<string, string> map, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Collections.Generic.IDictionary<System.String,System.String> | map |
System.Threading.CancellationToken | token |
SetValueAsync(String, String, CancellationToken)
View Source
ValueTask SetValueAsync(string key, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | key |
System.String | value |
System.Threading.CancellationToken | token |
SetValueAsync(String, String, TimeSpan, CancellationToken)
View Source
ValueTask SetValueAsync(string key, string value, TimeSpan expireIn, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | key |
System.String | value |
System.TimeSpan | expireIn |
System.Threading.CancellationToken | token |
SetValueIfNotExistsAsync(String, String, Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<bool> SetValueIfNotExistsAsync(string key, string value, TimeSpan? expireIn = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.String | value |
System.Nullable<System.TimeSpan> | expireIn |
System.Threading.CancellationToken | token |
SetValueIfExistsAsync(String, String, Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<bool> SetValueIfExistsAsync(string key, string value, TimeSpan? expireIn = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.String | value |
System.Nullable<System.TimeSpan> | expireIn |
System.Threading.CancellationToken | token |
GetValueAsync(String, CancellationToken)
View Source
ValueTask<string> GetValueAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
GetAndSetValueAsync(String, String, CancellationToken)
View Source
ValueTask<string> GetAndSetValueAsync(string key, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | key |
System.String | value |
System.Threading.CancellationToken | token |
GetValuesAsync(List<String>, CancellationToken)
View Source
ValueTask<List<string>> GetValuesAsync(List<string> keys, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.Collections.Generic.List<System.String> | keys |
System.Threading.CancellationToken | token |
GetValuesAsync<T>(List<String>, CancellationToken)
View Source
ValueTask<List<T>> GetValuesAsync<T>(List<string> keys, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
System.Collections.Generic.List<System.String> | keys |
System.Threading.CancellationToken | token |
Type Parameters
T
GetValuesMapAsync(List<String>, CancellationToken)
View Source
ValueTask<Dictionary<string, string>> GetValuesMapAsync(List<string> keys, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.Dictionary<System.String,System.String>>
Parameters
Type | Name |
---|---|
System.Collections.Generic.List<System.String> | keys |
System.Threading.CancellationToken | token |
GetValuesMapAsync<T>(List<String>, CancellationToken)
View Source
ValueTask<Dictionary<string, T>> GetValuesMapAsync<T>(List<string> keys, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.Dictionary<System.String,<T>>>
Parameters
Type | Name |
---|---|
System.Collections.Generic.List<System.String> | keys |
System.Threading.CancellationToken | token |
Type Parameters
T
AppendToAsync(String, String, CancellationToken)
View Source
ValueTask<long> AppendToAsync(string key, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.String | value |
System.Threading.CancellationToken | token |
SliceAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<string> SliceAsync(string key, int fromIndex, int toIndex, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int32 | fromIndex |
System.Int32 | toIndex |
System.Threading.CancellationToken | token |
InsertAtAsync(String, Int32, String, CancellationToken)
View Source
ValueTask<long> InsertAtAsync(string key, int offset, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int32 | offset |
System.String | value |
System.Threading.CancellationToken | token |
RenameKeyAsync(String, String, CancellationToken)
View Source
ValueTask RenameKeyAsync(string fromName, string toName, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | fromName |
System.String | toName |
System.Threading.CancellationToken | token |
GetFromHashAsync<T>(Object, CancellationToken)
View Source
ValueTask<T> GetFromHashAsync<T>(object id, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
System.Object | id |
System.Threading.CancellationToken | token |
Type Parameters
T
StoreAsHashAsync<T>(T, CancellationToken)
View Source
ValueTask StoreAsHashAsync<T>(T entity, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
<T> | entity |
System.Threading.CancellationToken | token |
Type Parameters
T
StoreObjectAsync(Object, CancellationToken)
View Source
ValueTask<object> StoreObjectAsync(object entity, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Object>
Parameters
Type | Name |
---|---|
System.Object | entity |
System.Threading.CancellationToken | token |
ContainsKeyAsync(String, CancellationToken)
View Source
ValueTask<bool> ContainsKeyAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
RemoveEntryAsync(String[], CancellationToken)
View Source
ValueTask<bool> RemoveEntryAsync(string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String[] | args |
System.Threading.CancellationToken | token |
RemoveEntryAsync(String[])
View Source
ValueTask<bool> RemoveEntryAsync(params string[] args)
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String[] | args |
IncrementValueAsync(String, CancellationToken)
View Source
ValueTask<long> IncrementValueAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
IncrementValueByAsync(String, Int32, CancellationToken)
View Source
ValueTask<long> IncrementValueByAsync(string key, int count, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int32 | count |
System.Threading.CancellationToken | token |
IncrementValueByAsync(String, Int64, CancellationToken)
View Source
ValueTask<long> IncrementValueByAsync(string key, long count, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int64 | count |
System.Threading.CancellationToken | token |
IncrementValueByAsync(String, Double, CancellationToken)
View Source
ValueTask<double> IncrementValueByAsync(string key, double count, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
System.String | key |
System.Double | count |
System.Threading.CancellationToken | token |
DecrementValueAsync(String, CancellationToken)
View Source
ValueTask<long> DecrementValueAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
DecrementValueByAsync(String, Int32, CancellationToken)
View Source
ValueTask<long> DecrementValueByAsync(string key, int count, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int32 | count |
System.Threading.CancellationToken | token |
SearchKeysAsync(String, CancellationToken)
View Source
ValueTask<List<string>> SearchKeysAsync(string pattern, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | pattern |
System.Threading.CancellationToken | token |
TypeAsync(String, CancellationToken)
View Source
ValueTask<string> TypeAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
GetEntryTypeAsync(String, CancellationToken)
View Source
ValueTask<RedisKeyType> GetEntryTypeAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.RedisKeyType>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
GetStringCountAsync(String, CancellationToken)
View Source
ValueTask<long> GetStringCountAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
GetRandomKeyAsync(CancellationToken)
View Source
ValueTask<string> GetRandomKeyAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
ExpireEntryInAsync(String, TimeSpan, CancellationToken)
View Source
ValueTask<bool> ExpireEntryInAsync(string key, TimeSpan expireIn, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.TimeSpan | expireIn |
System.Threading.CancellationToken | token |
ExpireEntryAtAsync(String, DateTime, CancellationToken)
View Source
ValueTask<bool> ExpireEntryAtAsync(string key, DateTime expireAt, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.DateTime | expireAt |
System.Threading.CancellationToken | token |
GetSortedEntryValuesAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<List<string>> GetSortedEntryValuesAsync(string key, int startingFrom, int endingAt, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int32 | startingFrom |
System.Int32 | endingAt |
System.Threading.CancellationToken | token |
WriteAllAsync<TEntity>(IEnumerable<TEntity>, CancellationToken)
View Source
ValueTask WriteAllAsync<TEntity>(IEnumerable<TEntity> entities, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<<TEntity>> | entities |
System.Threading.CancellationToken | token |
Type Parameters
TEntity
ScanAllKeysAsync(String, Int32, CancellationToken)
View Source
IAsyncEnumerable<string> ScanAllKeysAsync(string pattern = null, int pageSize = 1000, CancellationToken token = default(CancellationToken))
Returns
IAsyncEnumerable<System.String>
Parameters
Type | Name |
---|---|
System.String | pattern |
System.Int32 | pageSize |
System.Threading.CancellationToken | token |
ScanAllSetItemsAsync(String, String, Int32, CancellationToken)
View Source
IAsyncEnumerable<string> ScanAllSetItemsAsync(string setId, string pattern = null, int pageSize = 1000, CancellationToken token = default(CancellationToken))
Returns
IAsyncEnumerable<System.String>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | pattern |
System.Int32 | pageSize |
System.Threading.CancellationToken | token |
ScanAllSortedSetItemsAsync(String, String, Int32, CancellationToken)
View Source
IAsyncEnumerable<KeyValuePair<string, double>> ScanAllSortedSetItemsAsync(string setId, string pattern = null, int pageSize = 1000, CancellationToken token = default(CancellationToken))
Returns
IAsyncEnumerable<System.Collections.Generic.KeyValuePair<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | pattern |
System.Int32 | pageSize |
System.Threading.CancellationToken | token |
ScanAllHashEntriesAsync(String, String, Int32, CancellationToken)
View Source
IAsyncEnumerable<KeyValuePair<string, string>> ScanAllHashEntriesAsync(string hashId, string pattern = null, int pageSize = 1000, CancellationToken token = default(CancellationToken))
Returns
IAsyncEnumerable<System.Collections.Generic.KeyValuePair<System.String,System.String>>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.String | pattern |
System.Int32 | pageSize |
System.Threading.CancellationToken | token |
AddToHyperLogAsync(String, String[], CancellationToken)
View Source
ValueTask<bool> AddToHyperLogAsync(string key, string[] elements, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.String[] | elements |
System.Threading.CancellationToken | token |
AddToHyperLogAsync(String, String[])
View Source
ValueTask<bool> AddToHyperLogAsync(string key, params string[] elements)
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.String[] | elements |
CountHyperLogAsync(String, CancellationToken)
View Source
ValueTask<long> CountHyperLogAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
MergeHyperLogsAsync(String, String[], CancellationToken)
View Source
ValueTask MergeHyperLogsAsync(string toKey, string[] fromKeys, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | toKey |
System.String[] | fromKeys |
System.Threading.CancellationToken | token |
MergeHyperLogsAsync(String, String[])
View Source
ValueTask MergeHyperLogsAsync(string toKey, params string[] fromKeys)
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | toKey |
System.String[] | fromKeys |
AddGeoMemberAsync(String, Double, Double, String, CancellationToken)
View Source
ValueTask<long> AddGeoMemberAsync(string key, double longitude, double latitude, string member, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Double | longitude |
System.Double | latitude |
System.String | member |
System.Threading.CancellationToken | token |
AddGeoMembersAsync(String, RedisGeo[], CancellationToken)
View Source
ValueTask<long> AddGeoMembersAsync(string key, RedisGeo[] geoPoints, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
ServiceStack.Redis.RedisGeo[] | geoPoints |
System.Threading.CancellationToken | token |
AddGeoMembersAsync(String, RedisGeo[])
View Source
ValueTask<long> AddGeoMembersAsync(string key, params RedisGeo[] geoPoints)
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
ServiceStack.Redis.RedisGeo[] | geoPoints |
CalculateDistanceBetweenGeoMembersAsync(String, String, String, String, CancellationToken)
View Source
ValueTask<double> CalculateDistanceBetweenGeoMembersAsync(string key, string fromMember, string toMember, string unit = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
System.String | key |
System.String | fromMember |
System.String | toMember |
System.String | unit |
System.Threading.CancellationToken | token |
GetGeohashesAsync(String, String[], CancellationToken)
View Source
ValueTask<string[]> GetGeohashesAsync(string key, string[] members, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String[]>
Parameters
Type | Name |
---|---|
System.String | key |
System.String[] | members |
System.Threading.CancellationToken | token |
GetGeohashesAsync(String, String[])
View Source
ValueTask<string[]> GetGeohashesAsync(string key, params string[] members)
Returns
ValueTask<System.String[]>
Parameters
Type | Name |
---|---|
System.String | key |
System.String[] | members |
GetGeoCoordinatesAsync(String, String[], CancellationToken)
View Source
ValueTask<List<RedisGeo>> GetGeoCoordinatesAsync(string key, string[] members, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<ServiceStack.Redis.RedisGeo>>
Parameters
Type | Name |
---|---|
System.String | key |
System.String[] | members |
System.Threading.CancellationToken | token |
GetGeoCoordinatesAsync(String, String[])
View Source
ValueTask<List<RedisGeo>> GetGeoCoordinatesAsync(string key, params string[] members)
Returns
ValueTask<System.Collections.Generic.List<ServiceStack.Redis.RedisGeo>>
Parameters
Type | Name |
---|---|
System.String | key |
System.String[] | members |
FindGeoMembersInRadiusAsync(String, Double, Double, Double, String, CancellationToken)
View Source
ValueTask<string[]> FindGeoMembersInRadiusAsync(string key, double longitude, double latitude, double radius, string unit, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String[]>
Parameters
Type | Name |
---|---|
System.String | key |
System.Double | longitude |
System.Double | latitude |
System.Double | radius |
System.String | unit |
System.Threading.CancellationToken | token |
FindGeoResultsInRadiusAsync(String, Double, Double, Double, String, Nullable<Int32>, Nullable<Boolean>, CancellationToken)
View Source
ValueTask<List<RedisGeoResult>> FindGeoResultsInRadiusAsync(string key, double longitude, double latitude, double radius, string unit, int? count = null, bool? sortByNearest = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<ServiceStack.Redis.RedisGeoResult>>
Parameters
Type | Name |
---|---|
System.String | key |
System.Double | longitude |
System.Double | latitude |
System.Double | radius |
System.String | unit |
System.Nullable<System.Int32> | count |
System.Nullable<System.Boolean> | sortByNearest |
System.Threading.CancellationToken | token |
FindGeoMembersInRadiusAsync(String, String, Double, String, CancellationToken)
View Source
ValueTask<string[]> FindGeoMembersInRadiusAsync(string key, string member, double radius, string unit, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String[]>
Parameters
Type | Name |
---|---|
System.String | key |
System.String | member |
System.Double | radius |
System.String | unit |
System.Threading.CancellationToken | token |
FindGeoResultsInRadiusAsync(String, String, Double, String, Nullable<Int32>, Nullable<Boolean>, CancellationToken)
View Source
ValueTask<List<RedisGeoResult>> FindGeoResultsInRadiusAsync(string key, string member, double radius, string unit, int? count = null, bool? sortByNearest = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<ServiceStack.Redis.RedisGeoResult>>
Parameters
Type | Name |
---|---|
System.String | key |
System.String | member |
System.Double | radius |
System.String | unit |
System.Nullable<System.Int32> | count |
System.Nullable<System.Boolean> | sortByNearest |
System.Threading.CancellationToken | token |
As<T>()
Returns a high-level typed client API
View Source
IRedisTypedClientAsync<T> As<T>()
Returns
ServiceStack.Redis.Generic.IRedisTypedClientAsync<T>
Type Parameters
T
CreateTransactionAsync(CancellationToken)
View Source
ValueTask<IRedisTransactionAsync> CreateTransactionAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.IRedisTransactionAsync>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
CreatePipeline()
View Source
IRedisPipelineAsync CreatePipeline()
Returns
ServiceStack.Redis.Pipeline.IRedisPipelineAsync
AcquireLockAsync(String, Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<IAsyncDisposable> AcquireLockAsync(string key, TimeSpan? timeOut = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<IAsyncDisposable>
Parameters
Type | Name |
---|---|
System.String | key |
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
WatchAsync(String[], CancellationToken)
View Source
ValueTask WatchAsync(string[] keys, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String[] | keys |
System.Threading.CancellationToken | token |
WatchAsync(String[])
View Source
ValueTask WatchAsync(params string[] keys)
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String[] | keys |
UnWatchAsync(CancellationToken)
View Source
ValueTask UnWatchAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
CreateSubscriptionAsync(CancellationToken)
View Source
ValueTask<IRedisSubscriptionAsync> CreateSubscriptionAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.IRedisSubscriptionAsync>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
PublishMessageAsync(String, String, CancellationToken)
View Source
ValueTask<long> PublishMessageAsync(string toChannel, string message, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | toChannel |
System.String | message |
System.Threading.CancellationToken | token |
GetAllItemsFromSetAsync(String, CancellationToken)
View Source
ValueTask<HashSet<string>> GetAllItemsFromSetAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.HashSet<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
AddItemToSetAsync(String, String, CancellationToken)
View Source
ValueTask AddItemToSetAsync(string setId, string item, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | item |
System.Threading.CancellationToken | token |
AddRangeToSetAsync(String, List<String>, CancellationToken)
View Source
ValueTask AddRangeToSetAsync(string setId, List<string> items, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | setId |
System.Collections.Generic.List<System.String> | items |
System.Threading.CancellationToken | token |
RemoveItemFromSetAsync(String, String, CancellationToken)
View Source
ValueTask RemoveItemFromSetAsync(string setId, string item, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | item |
System.Threading.CancellationToken | token |
PopItemFromSetAsync(String, CancellationToken)
View Source
ValueTask<string> PopItemFromSetAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
PopItemsFromSetAsync(String, Int32, CancellationToken)
View Source
ValueTask<List<string>> PopItemsFromSetAsync(string setId, int count, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int32 | count |
System.Threading.CancellationToken | token |
MoveBetweenSetsAsync(String, String, String, CancellationToken)
View Source
ValueTask MoveBetweenSetsAsync(string fromSetId, string toSetId, string item, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | fromSetId |
System.String | toSetId |
System.String | item |
System.Threading.CancellationToken | token |
GetSetCountAsync(String, CancellationToken)
View Source
ValueTask<long> GetSetCountAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
SetContainsItemAsync(String, String, CancellationToken)
View Source
ValueTask<bool> SetContainsItemAsync(string setId, string item, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | item |
System.Threading.CancellationToken | token |
GetIntersectFromSetsAsync(String[], CancellationToken)
View Source
ValueTask<HashSet<string>> GetIntersectFromSetsAsync(string[] setIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.HashSet<System.String>>
Parameters
Type | Name |
---|---|
System.String[] | setIds |
System.Threading.CancellationToken | token |
GetIntersectFromSetsAsync(String[])
View Source
ValueTask<HashSet<string>> GetIntersectFromSetsAsync(params string[] setIds)
Returns
ValueTask<System.Collections.Generic.HashSet<System.String>>
Parameters
Type | Name |
---|---|
System.String[] | setIds |
StoreIntersectFromSetsAsync(String, String[], CancellationToken)
View Source
ValueTask StoreIntersectFromSetsAsync(string intoSetId, string[] setIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
System.Threading.CancellationToken | token |
StoreIntersectFromSetsAsync(String, String[])
View Source
ValueTask StoreIntersectFromSetsAsync(string intoSetId, params string[] setIds)
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
GetUnionFromSetsAsync(String[], CancellationToken)
View Source
ValueTask<HashSet<string>> GetUnionFromSetsAsync(string[] setIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.HashSet<System.String>>
Parameters
Type | Name |
---|---|
System.String[] | setIds |
System.Threading.CancellationToken | token |
GetUnionFromSetsAsync(String[])
View Source
ValueTask<HashSet<string>> GetUnionFromSetsAsync(params string[] setIds)
Returns
ValueTask<System.Collections.Generic.HashSet<System.String>>
Parameters
Type | Name |
---|---|
System.String[] | setIds |
StoreUnionFromSetsAsync(String, String[], CancellationToken)
View Source
ValueTask StoreUnionFromSetsAsync(string intoSetId, string[] setIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
System.Threading.CancellationToken | token |
StoreUnionFromSetsAsync(String, String[])
View Source
ValueTask StoreUnionFromSetsAsync(string intoSetId, params string[] setIds)
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
GetDifferencesFromSetAsync(String, String[], CancellationToken)
View Source
ValueTask<HashSet<string>> GetDifferencesFromSetAsync(string fromSetId, string[] withSetIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.HashSet<System.String>>
Parameters
Type | Name |
---|---|
System.String | fromSetId |
System.String[] | withSetIds |
System.Threading.CancellationToken | token |
GetDifferencesFromSetAsync(String, String[])
View Source
ValueTask<HashSet<string>> GetDifferencesFromSetAsync(string fromSetId, params string[] withSetIds)
Returns
ValueTask<System.Collections.Generic.HashSet<System.String>>
Parameters
Type | Name |
---|---|
System.String | fromSetId |
System.String[] | withSetIds |
StoreDifferencesFromSetAsync(String, String, String[], CancellationToken)
View Source
ValueTask StoreDifferencesFromSetAsync(string intoSetId, string fromSetId, string[] withSetIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String | fromSetId |
System.String[] | withSetIds |
System.Threading.CancellationToken | token |
StoreDifferencesFromSetAsync(String, String, String[])
View Source
ValueTask StoreDifferencesFromSetAsync(string intoSetId, string fromSetId, params string[] withSetIds)
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String | fromSetId |
System.String[] | withSetIds |
GetRandomItemFromSetAsync(String, CancellationToken)
View Source
ValueTask<string> GetRandomItemFromSetAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
GetAllItemsFromListAsync(String, CancellationToken)
View Source
ValueTask<List<string>> GetAllItemsFromListAsync(string listId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Threading.CancellationToken | token |
GetRangeFromListAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromListAsync(string listId, int startingFrom, int endingAt, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Int32 | startingFrom |
System.Int32 | endingAt |
System.Threading.CancellationToken | token |
GetRangeFromSortedListAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedListAsync(string listId, int startingFrom, int endingAt, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Int32 | startingFrom |
System.Int32 | endingAt |
System.Threading.CancellationToken | token |
GetSortedItemsFromListAsync(String, SortOptions, CancellationToken)
View Source
ValueTask<List<string>> GetSortedItemsFromListAsync(string listId, SortOptions sortOptions, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | listId |
ServiceStack.Redis.SortOptions | sortOptions |
System.Threading.CancellationToken | token |
AddItemToListAsync(String, String, CancellationToken)
View Source
ValueTask AddItemToListAsync(string listId, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | listId |
System.String | value |
System.Threading.CancellationToken | token |
AddRangeToListAsync(String, List<String>, CancellationToken)
View Source
ValueTask AddRangeToListAsync(string listId, List<string> values, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | listId |
System.Collections.Generic.List<System.String> | values |
System.Threading.CancellationToken | token |
PrependItemToListAsync(String, String, CancellationToken)
View Source
ValueTask PrependItemToListAsync(string listId, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | listId |
System.String | value |
System.Threading.CancellationToken | token |
PrependRangeToListAsync(String, List<String>, CancellationToken)
View Source
ValueTask PrependRangeToListAsync(string listId, List<string> values, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | listId |
System.Collections.Generic.List<System.String> | values |
System.Threading.CancellationToken | token |
RemoveAllFromListAsync(String, CancellationToken)
View Source
ValueTask RemoveAllFromListAsync(string listId, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | listId |
System.Threading.CancellationToken | token |
RemoveStartFromListAsync(String, CancellationToken)
View Source
ValueTask<string> RemoveStartFromListAsync(string listId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Threading.CancellationToken | token |
BlockingRemoveStartFromListAsync(String, Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<string> BlockingRemoveStartFromListAsync(string listId, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
BlockingRemoveStartFromListsAsync(String[], Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<ItemRef> BlockingRemoveStartFromListsAsync(string[] listIds, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.ItemRef>
Parameters
Type | Name |
---|---|
System.String[] | listIds |
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
RemoveEndFromListAsync(String, CancellationToken)
View Source
ValueTask<string> RemoveEndFromListAsync(string listId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Threading.CancellationToken | token |
TrimListAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask TrimListAsync(string listId, int keepStartingFrom, int keepEndingAt, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | listId |
System.Int32 | keepStartingFrom |
System.Int32 | keepEndingAt |
System.Threading.CancellationToken | token |
RemoveItemFromListAsync(String, String, CancellationToken)
View Source
ValueTask<long> RemoveItemFromListAsync(string listId, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | listId |
System.String | value |
System.Threading.CancellationToken | token |
RemoveItemFromListAsync(String, String, Int32, CancellationToken)
View Source
ValueTask<long> RemoveItemFromListAsync(string listId, string value, int noOfMatches, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | listId |
System.String | value |
System.Int32 | noOfMatches |
System.Threading.CancellationToken | token |
GetListCountAsync(String, CancellationToken)
View Source
ValueTask<long> GetListCountAsync(string listId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Threading.CancellationToken | token |
GetItemFromListAsync(String, Int32, CancellationToken)
View Source
ValueTask<string> GetItemFromListAsync(string listId, int listIndex, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Int32 | listIndex |
System.Threading.CancellationToken | token |
SetItemInListAsync(String, Int32, String, CancellationToken)
View Source
ValueTask SetItemInListAsync(string listId, int listIndex, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | listId |
System.Int32 | listIndex |
System.String | value |
System.Threading.CancellationToken | token |
EnqueueItemOnListAsync(String, String, CancellationToken)
View Source
ValueTask EnqueueItemOnListAsync(string listId, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | listId |
System.String | value |
System.Threading.CancellationToken | token |
DequeueItemFromListAsync(String, CancellationToken)
View Source
ValueTask<string> DequeueItemFromListAsync(string listId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Threading.CancellationToken | token |
BlockingDequeueItemFromListAsync(String, Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<string> BlockingDequeueItemFromListAsync(string listId, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
BlockingDequeueItemFromListsAsync(String[], Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<ItemRef> BlockingDequeueItemFromListsAsync(string[] listIds, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.ItemRef>
Parameters
Type | Name |
---|---|
System.String[] | listIds |
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
PushItemToListAsync(String, String, CancellationToken)
View Source
ValueTask PushItemToListAsync(string listId, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | listId |
System.String | value |
System.Threading.CancellationToken | token |
PopItemFromListAsync(String, CancellationToken)
View Source
ValueTask<string> PopItemFromListAsync(string listId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Threading.CancellationToken | token |
BlockingPopItemFromListAsync(String, Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<string> BlockingPopItemFromListAsync(string listId, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
BlockingPopItemFromListsAsync(String[], Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<ItemRef> BlockingPopItemFromListsAsync(string[] listIds, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.ItemRef>
Parameters
Type | Name |
---|---|
System.String[] | listIds |
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
PopAndPushItemBetweenListsAsync(String, String, CancellationToken)
View Source
ValueTask<string> PopAndPushItemBetweenListsAsync(string fromListId, string toListId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | fromListId |
System.String | toListId |
System.Threading.CancellationToken | token |
BlockingPopAndPushItemBetweenListsAsync(String, String, Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<string> BlockingPopAndPushItemBetweenListsAsync(string fromListId, string toListId, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | fromListId |
System.String | toListId |
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
AddItemToSortedSetAsync(String, String, CancellationToken)
View Source
ValueTask<bool> AddItemToSortedSetAsync(string setId, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | value |
System.Threading.CancellationToken | token |
AddItemToSortedSetAsync(String, String, Double, CancellationToken)
View Source
ValueTask<bool> AddItemToSortedSetAsync(string setId, string value, double score, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | value |
System.Double | score |
System.Threading.CancellationToken | token |
AddRangeToSortedSetAsync(String, List<String>, Double, CancellationToken)
View Source
ValueTask<bool> AddRangeToSortedSetAsync(string setId, List<string> values, double score, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Collections.Generic.List<System.String> | values |
System.Double | score |
System.Threading.CancellationToken | token |
AddRangeToSortedSetAsync(String, List<String>, Int64, CancellationToken)
View Source
ValueTask<bool> AddRangeToSortedSetAsync(string setId, List<string> values, long score, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Collections.Generic.List<System.String> | values |
System.Int64 | score |
System.Threading.CancellationToken | token |
RemoveItemFromSortedSetAsync(String, String, CancellationToken)
View Source
ValueTask<bool> RemoveItemFromSortedSetAsync(string setId, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | value |
System.Threading.CancellationToken | token |
RemoveItemsFromSortedSetAsync(String, List<String>, CancellationToken)
View Source
ValueTask<long> RemoveItemsFromSortedSetAsync(string setId, List<string> values, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Collections.Generic.List<System.String> | values |
System.Threading.CancellationToken | token |
PopItemWithLowestScoreFromSortedSetAsync(String, CancellationToken)
View Source
ValueTask<string> PopItemWithLowestScoreFromSortedSetAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
PopItemWithHighestScoreFromSortedSetAsync(String, CancellationToken)
View Source
ValueTask<string> PopItemWithHighestScoreFromSortedSetAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
SortedSetContainsItemAsync(String, String, CancellationToken)
View Source
ValueTask<bool> SortedSetContainsItemAsync(string setId, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | value |
System.Threading.CancellationToken | token |
IncrementItemInSortedSetAsync(String, String, Double, CancellationToken)
View Source
ValueTask<double> IncrementItemInSortedSetAsync(string setId, string value, double incrementBy, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | value |
System.Double | incrementBy |
System.Threading.CancellationToken | token |
IncrementItemInSortedSetAsync(String, String, Int64, CancellationToken)
View Source
ValueTask<double> IncrementItemInSortedSetAsync(string setId, string value, long incrementBy, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | value |
System.Int64 | incrementBy |
System.Threading.CancellationToken | token |
GetItemIndexInSortedSetAsync(String, String, CancellationToken)
View Source
ValueTask<long> GetItemIndexInSortedSetAsync(string setId, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | value |
System.Threading.CancellationToken | token |
GetItemIndexInSortedSetDescAsync(String, String, CancellationToken)
View Source
ValueTask<long> GetItemIndexInSortedSetDescAsync(string setId, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | value |
System.Threading.CancellationToken | token |
GetAllItemsFromSortedSetAsync(String, CancellationToken)
View Source
ValueTask<List<string>> GetAllItemsFromSortedSetAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
GetAllItemsFromSortedSetDescAsync(String, CancellationToken)
View Source
ValueTask<List<string>> GetAllItemsFromSortedSetDescAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedSetAsync(string setId, int fromRank, int toRank, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int32 | fromRank |
System.Int32 | toRank |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetDescAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedSetDescAsync(string setId, int fromRank, int toRank, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int32 | fromRank |
System.Int32 | toRank |
System.Threading.CancellationToken | token |
GetAllWithScoresFromSortedSetAsync(String, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetAllWithScoresFromSortedSetAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetRangeWithScoresFromSortedSetAsync(string setId, int fromRank, int toRank, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int32 | fromRank |
System.Int32 | toRank |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetDescAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetRangeWithScoresFromSortedSetDescAsync(string setId, int fromRank, int toRank, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int32 | fromRank |
System.Int32 | toRank |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByLowestScoreAsync(String, String, String, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedSetByLowestScoreAsync(string setId, string fromStringScore, string toStringScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | fromStringScore |
System.String | toStringScore |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByLowestScoreAsync(String, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedSetByLowestScoreAsync(string setId, string fromStringScore, string toStringScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | fromStringScore |
System.String | toStringScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByLowestScoreAsync(String, Double, Double, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedSetByLowestScoreAsync(string setId, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | fromScore |
System.Double | toScore |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByLowestScoreAsync(String, Int64, Int64, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedSetByLowestScoreAsync(string setId, long fromScore, long toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | fromScore |
System.Int64 | toScore |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByLowestScoreAsync(String, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedSetByLowestScoreAsync(string setId, double fromScore, double toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | fromScore |
System.Double | toScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByLowestScoreAsync(String, Int64, Int64, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedSetByLowestScoreAsync(string setId, long fromScore, long toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | fromScore |
System.Int64 | toScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByLowestScoreAsync(String, String, String, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetRangeWithScoresFromSortedSetByLowestScoreAsync(string setId, string fromStringScore, string toStringScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | fromStringScore |
System.String | toStringScore |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByLowestScoreAsync(String, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetRangeWithScoresFromSortedSetByLowestScoreAsync(string setId, string fromStringScore, string toStringScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | fromStringScore |
System.String | toStringScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByLowestScoreAsync(String, Double, Double, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetRangeWithScoresFromSortedSetByLowestScoreAsync(string setId, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | fromScore |
System.Double | toScore |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByLowestScoreAsync(String, Int64, Int64, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetRangeWithScoresFromSortedSetByLowestScoreAsync(string setId, long fromScore, long toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | fromScore |
System.Int64 | toScore |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByLowestScoreAsync(String, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetRangeWithScoresFromSortedSetByLowestScoreAsync(string setId, double fromScore, double toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | fromScore |
System.Double | toScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByLowestScoreAsync(String, Int64, Int64, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetRangeWithScoresFromSortedSetByLowestScoreAsync(string setId, long fromScore, long toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | fromScore |
System.Int64 | toScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByHighestScoreAsync(String, String, String, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedSetByHighestScoreAsync(string setId, string fromStringScore, string toStringScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | fromStringScore |
System.String | toStringScore |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByHighestScoreAsync(String, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedSetByHighestScoreAsync(string setId, string fromStringScore, string toStringScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | fromStringScore |
System.String | toStringScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByHighestScoreAsync(String, Double, Double, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedSetByHighestScoreAsync(string setId, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | fromScore |
System.Double | toScore |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByHighestScoreAsync(String, Int64, Int64, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedSetByHighestScoreAsync(string setId, long fromScore, long toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | fromScore |
System.Int64 | toScore |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByHighestScoreAsync(String, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedSetByHighestScoreAsync(string setId, double fromScore, double toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | fromScore |
System.Double | toScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByHighestScoreAsync(String, Int64, Int64, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<List<string>> GetRangeFromSortedSetByHighestScoreAsync(string setId, long fromScore, long toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | fromScore |
System.Int64 | toScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByHighestScoreAsync(String, String, String, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetRangeWithScoresFromSortedSetByHighestScoreAsync(string setId, string fromStringScore, string toStringScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | fromStringScore |
System.String | toStringScore |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByHighestScoreAsync(String, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetRangeWithScoresFromSortedSetByHighestScoreAsync(string setId, string fromStringScore, string toStringScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | fromStringScore |
System.String | toStringScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByHighestScoreAsync(String, Double, Double, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetRangeWithScoresFromSortedSetByHighestScoreAsync(string setId, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | fromScore |
System.Double | toScore |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByHighestScoreAsync(String, Int64, Int64, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetRangeWithScoresFromSortedSetByHighestScoreAsync(string setId, long fromScore, long toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | fromScore |
System.Int64 | toScore |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByHighestScoreAsync(String, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetRangeWithScoresFromSortedSetByHighestScoreAsync(string setId, double fromScore, double toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | fromScore |
System.Double | toScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByHighestScoreAsync(String, Int64, Int64, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<IDictionary<string, double>> GetRangeWithScoresFromSortedSetByHighestScoreAsync(string setId, long fromScore, long toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | fromScore |
System.Int64 | toScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
RemoveRangeFromSortedSetAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<long> RemoveRangeFromSortedSetAsync(string setId, int minRank, int maxRank, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int32 | minRank |
System.Int32 | maxRank |
System.Threading.CancellationToken | token |
RemoveRangeFromSortedSetByScoreAsync(String, Double, Double, CancellationToken)
View Source
ValueTask<long> RemoveRangeFromSortedSetByScoreAsync(string setId, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | fromScore |
System.Double | toScore |
System.Threading.CancellationToken | token |
RemoveRangeFromSortedSetByScoreAsync(String, Int64, Int64, CancellationToken)
View Source
ValueTask<long> RemoveRangeFromSortedSetByScoreAsync(string setId, long fromScore, long toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | fromScore |
System.Int64 | toScore |
System.Threading.CancellationToken | token |
GetSortedSetCountAsync(String, CancellationToken)
View Source
ValueTask<long> GetSortedSetCountAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
GetSortedSetCountAsync(String, String, String, CancellationToken)
View Source
ValueTask<long> GetSortedSetCountAsync(string setId, string fromStringScore, string toStringScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | fromStringScore |
System.String | toStringScore |
System.Threading.CancellationToken | token |
GetSortedSetCountAsync(String, Int64, Int64, CancellationToken)
View Source
ValueTask<long> GetSortedSetCountAsync(string setId, long fromScore, long toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | fromScore |
System.Int64 | toScore |
System.Threading.CancellationToken | token |
GetSortedSetCountAsync(String, Double, Double, CancellationToken)
View Source
ValueTask<long> GetSortedSetCountAsync(string setId, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | fromScore |
System.Double | toScore |
System.Threading.CancellationToken | token |
GetItemScoreInSortedSetAsync(String, String, CancellationToken)
View Source
ValueTask<double> GetItemScoreInSortedSetAsync(string setId, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | value |
System.Threading.CancellationToken | token |
StoreIntersectFromSortedSetsAsync(String, String[], CancellationToken)
View Source
ValueTask<long> StoreIntersectFromSortedSetsAsync(string intoSetId, string[] setIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
System.Threading.CancellationToken | token |
StoreIntersectFromSortedSetsAsync(String, String[])
View Source
ValueTask<long> StoreIntersectFromSortedSetsAsync(string intoSetId, params string[] setIds)
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
StoreIntersectFromSortedSetsAsync(String, String[], String[], CancellationToken)
View Source
ValueTask<long> StoreIntersectFromSortedSetsAsync(string intoSetId, string[] setIds, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
System.String[] | args |
System.Threading.CancellationToken | token |
StoreUnionFromSortedSetsAsync(String, String[], CancellationToken)
View Source
ValueTask<long> StoreUnionFromSortedSetsAsync(string intoSetId, string[] setIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
System.Threading.CancellationToken | token |
StoreUnionFromSortedSetsAsync(String, String[])
View Source
ValueTask<long> StoreUnionFromSortedSetsAsync(string intoSetId, params string[] setIds)
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
StoreUnionFromSortedSetsAsync(String, String[], String[], CancellationToken)
View Source
ValueTask<long> StoreUnionFromSortedSetsAsync(string intoSetId, string[] setIds, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
System.String[] | args |
System.Threading.CancellationToken | token |
SearchSortedSetAsync(String, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<List<string>> SearchSortedSetAsync(string setId, string start = null, string end = null, int? skip = null, int? take = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | start |
System.String | end |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
SearchSortedSetCountAsync(String, String, String, CancellationToken)
View Source
ValueTask<long> SearchSortedSetCountAsync(string setId, string start = null, string end = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | start |
System.String | end |
System.Threading.CancellationToken | token |
RemoveRangeFromSortedSetBySearchAsync(String, String, String, CancellationToken)
View Source
ValueTask<long> RemoveRangeFromSortedSetBySearchAsync(string setId, string start = null, string end = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | start |
System.String | end |
System.Threading.CancellationToken | token |
HashContainsEntryAsync(String, String, CancellationToken)
View Source
ValueTask<bool> HashContainsEntryAsync(string hashId, string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.String | key |
System.Threading.CancellationToken | token |
SetEntryInHashAsync(String, String, String, CancellationToken)
View Source
ValueTask<bool> SetEntryInHashAsync(string hashId, string key, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.String | key |
System.String | value |
System.Threading.CancellationToken | token |
SetEntryInHashIfNotExistsAsync(String, String, String, CancellationToken)
View Source
ValueTask<bool> SetEntryInHashIfNotExistsAsync(string hashId, string key, string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.String | key |
System.String | value |
System.Threading.CancellationToken | token |
SetRangeInHashAsync(String, IEnumerable<KeyValuePair<String, String>>, CancellationToken)
View Source
ValueTask SetRangeInHashAsync(string hashId, IEnumerable<KeyValuePair<string, string>> keyValuePairs, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,System.String>> | keyValuePairs |
System.Threading.CancellationToken | token |
IncrementValueInHashAsync(String, String, Int32, CancellationToken)
View Source
ValueTask<long> IncrementValueInHashAsync(string hashId, string key, int incrementBy, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.String | key |
System.Int32 | incrementBy |
System.Threading.CancellationToken | token |
IncrementValueInHashAsync(String, String, Double, CancellationToken)
View Source
ValueTask<double> IncrementValueInHashAsync(string hashId, string key, double incrementBy, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.String | key |
System.Double | incrementBy |
System.Threading.CancellationToken | token |
GetValueFromHashAsync(String, String, CancellationToken)
View Source
ValueTask<string> GetValueFromHashAsync(string hashId, string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.String | key |
System.Threading.CancellationToken | token |
GetValuesFromHashAsync(String, String[], CancellationToken)
View Source
ValueTask<List<string>> GetValuesFromHashAsync(string hashId, string[] keys, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.String[] | keys |
System.Threading.CancellationToken | token |
GetValuesFromHashAsync(String, String[])
View Source
ValueTask<List<string>> GetValuesFromHashAsync(string hashId, params string[] keys)
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.String[] | keys |
RemoveEntryFromHashAsync(String, String, CancellationToken)
View Source
ValueTask<bool> RemoveEntryFromHashAsync(string hashId, string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.String | key |
System.Threading.CancellationToken | token |
GetHashCountAsync(String, CancellationToken)
View Source
ValueTask<long> GetHashCountAsync(string hashId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Threading.CancellationToken | token |
GetHashKeysAsync(String, CancellationToken)
View Source
ValueTask<List<string>> GetHashKeysAsync(string hashId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Threading.CancellationToken | token |
GetHashValuesAsync(String, CancellationToken)
View Source
ValueTask<List<string>> GetHashValuesAsync(string hashId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Threading.CancellationToken | token |
GetAllEntriesFromHashAsync(String, CancellationToken)
View Source
ValueTask<Dictionary<string, string>> GetAllEntriesFromHashAsync(string hashId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.Dictionary<System.String,System.String>>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Threading.CancellationToken | token |
ExecCachedLuaAsync<T>(String, Func<String, ValueTask<T>>, CancellationToken)
View Source
ValueTask<T> ExecCachedLuaAsync<T>(string scriptBody, Func<string, ValueTask<T>> scriptSha1, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
System.String | scriptBody |
System.Func<System.String,ValueTask<<T>>> | scriptSha1 |
System.Threading.CancellationToken | token |
Type Parameters
T
ExecLuaAsync(String, String[], CancellationToken)
View Source
ValueTask<RedisText> ExecLuaAsync(string body, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.RedisText>
Parameters
Type | Name |
---|---|
System.String | body |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaAsync(String, String[])
View Source
ValueTask<RedisText> ExecLuaAsync(string body, params string[] args)
Returns
ValueTask<ServiceStack.Redis.RedisText>
Parameters
Type | Name |
---|---|
System.String | body |
System.String[] | args |
ExecLuaAsync(String, String[], String[], CancellationToken)
View Source
ValueTask<RedisText> ExecLuaAsync(string luaBody, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.RedisText>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.String[] | keys |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaShaAsync(String, String[], CancellationToken)
View Source
ValueTask<RedisText> ExecLuaShaAsync(string sha1, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.RedisText>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaShaAsync(String, String[])
View Source
ValueTask<RedisText> ExecLuaShaAsync(string sha1, params string[] args)
Returns
ValueTask<ServiceStack.Redis.RedisText>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.String[] | args |
ExecLuaShaAsync(String, String[], String[], CancellationToken)
View Source
ValueTask<RedisText> ExecLuaShaAsync(string sha1, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.RedisText>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.String[] | keys |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaAsStringAsync(String, String[], CancellationToken)
View Source
ValueTask<string> ExecLuaAsStringAsync(string luaBody, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaAsStringAsync(String, String[])
View Source
ValueTask<string> ExecLuaAsStringAsync(string luaBody, params string[] args)
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.String[] | args |
ExecLuaAsStringAsync(String, String[], String[], CancellationToken)
View Source
ValueTask<string> ExecLuaAsStringAsync(string luaBody, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.String[] | keys |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaShaAsStringAsync(String, String[], CancellationToken)
View Source
ValueTask<string> ExecLuaShaAsStringAsync(string sha1, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaShaAsStringAsync(String, String[])
View Source
ValueTask<string> ExecLuaShaAsStringAsync(string sha1, params string[] args)
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.String[] | args |
ExecLuaShaAsStringAsync(String, String[], String[], CancellationToken)
View Source
ValueTask<string> ExecLuaShaAsStringAsync(string sha1, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.String[] | keys |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaAsIntAsync(String, String[], CancellationToken)
View Source
ValueTask<long> ExecLuaAsIntAsync(string luaBody, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaAsIntAsync(String, String[])
View Source
ValueTask<long> ExecLuaAsIntAsync(string luaBody, params string[] args)
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.String[] | args |
ExecLuaAsIntAsync(String, String[], String[], CancellationToken)
View Source
ValueTask<long> ExecLuaAsIntAsync(string luaBody, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.String[] | keys |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaShaAsIntAsync(String, String[], CancellationToken)
View Source
ValueTask<long> ExecLuaShaAsIntAsync(string sha1, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaShaAsIntAsync(String, String[])
View Source
ValueTask<long> ExecLuaShaAsIntAsync(string sha1, params string[] args)
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.String[] | args |
ExecLuaShaAsIntAsync(String, String[], String[], CancellationToken)
View Source
ValueTask<long> ExecLuaShaAsIntAsync(string sha1, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.String[] | keys |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaAsListAsync(String, String[], CancellationToken)
View Source
ValueTask<List<string>> ExecLuaAsListAsync(string luaBody, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaAsListAsync(String, String[])
View Source
ValueTask<List<string>> ExecLuaAsListAsync(string luaBody, params string[] args)
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.String[] | args |
ExecLuaAsListAsync(String, String[], String[], CancellationToken)
View Source
ValueTask<List<string>> ExecLuaAsListAsync(string luaBody, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.String[] | keys |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaShaAsListAsync(String, String[], CancellationToken)
View Source
ValueTask<List<string>> ExecLuaShaAsListAsync(string sha1, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.String[] | args |
System.Threading.CancellationToken | token |
ExecLuaShaAsListAsync(String, String[])
View Source
ValueTask<List<string>> ExecLuaShaAsListAsync(string sha1, params string[] args)
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.String[] | args |
ExecLuaShaAsListAsync(String, String[], String[], CancellationToken)
View Source
ValueTask<List<string>> ExecLuaShaAsListAsync(string sha1, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.String[] | keys |
System.String[] | args |
System.Threading.CancellationToken | token |
CalculateSha1Async(String, CancellationToken)
View Source
ValueTask<string> CalculateSha1Async(string luaBody, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.Threading.CancellationToken | token |
HasLuaScriptAsync(String, CancellationToken)
View Source
ValueTask<bool> HasLuaScriptAsync(string sha1Ref, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | sha1Ref |
System.Threading.CancellationToken | token |
WhichLuaScriptsExistsAsync(String[], CancellationToken)
View Source
ValueTask<Dictionary<string, bool>> WhichLuaScriptsExistsAsync(string[] sha1Refs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.Dictionary<System.String,System.Boolean>>
Parameters
Type | Name |
---|---|
System.String[] | sha1Refs |
System.Threading.CancellationToken | token |
WhichLuaScriptsExistsAsync(String[])
View Source
ValueTask<Dictionary<string, bool>> WhichLuaScriptsExistsAsync(params string[] sha1Refs)
Returns
ValueTask<System.Collections.Generic.Dictionary<System.String,System.Boolean>>
Parameters
Type | Name |
---|---|
System.String[] | sha1Refs |
RemoveAllLuaScriptsAsync(CancellationToken)
View Source
ValueTask RemoveAllLuaScriptsAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
KillRunningLuaScriptAsync(CancellationToken)
View Source
ValueTask KillRunningLuaScriptAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
LoadLuaScriptAsync(String, CancellationToken)
View Source
ValueTask<string> LoadLuaScriptAsync(string body, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | body |
System.Threading.CancellationToken | token |
SlowlogResetAsync(CancellationToken)
View Source
ValueTask SlowlogResetAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
GetSlowlogAsync(Nullable<Int32>, CancellationToken)
View Source
ValueTask<SlowlogItem[]> GetSlowlogAsync(int? numberOfRecords = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.SlowlogItem[]>
Parameters
Type | Name |
---|---|
System.Nullable<System.Int32> | numberOfRecords |
System.Threading.CancellationToken | token |