Skip to main content

IRedisClientAsync

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisClientAsync : IEntityStoreAsync, ICacheClientAsync, IRemoveByPatternAsync

Properties

Lists

View Source
Declaration
IHasNamed<IRedisListAsync> Lists { get; }

Sets

View Source
Declaration
IHasNamed<IRedisSetAsync> Sets { get; }

SortedSets

View Source
Declaration
IHasNamed<IRedisSortedSetAsync> SortedSets { get; }

Hashes

View Source
Declaration
IHasNamed<IRedisHashAsync> Hashes { get; }

Db

View Source
Declaration
long Db { get; }

Host

View Source
Declaration
string Host { get; }

Port

View Source
Declaration
int Port { get; }

ConnectTimeout

View Source
Declaration
int ConnectTimeout { get; set; }

RetryTimeout

View Source
Declaration
int RetryTimeout { get; set; }

RetryCount

View Source
Declaration
int RetryCount { get; set; }

SendTimeout

View Source
Declaration
int SendTimeout { get; set; }

Username

View Source
Declaration
string Username { get; set; }

Password

View Source
Declaration
string Password { get; set; }

HadExceptions

View Source
Declaration
bool HadExceptions { get; }

Methods

SelectAsync(Int64, CancellationToken)

View Source
Declaration
ValueTask SelectAsync(long db, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Int64db
System.Threading.CancellationTokentoken

DbSizeAsync(CancellationToken)

View Source
Declaration
ValueTask<long> DbSizeAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.Threading.CancellationTokentoken

InfoAsync(CancellationToken)

View Source
Declaration
ValueTask<Dictionary<string, string>> InfoAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.Dictionary<System.String,System.String>>

Parameters
TypeName
System.Threading.CancellationTokentoken

GetServerTimeAsync(CancellationToken)

View Source
Declaration
ValueTask<DateTime> GetServerTimeAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.DateTime>

Parameters
TypeName
System.Threading.CancellationTokentoken

LastSaveAsync(CancellationToken)

View Source
Declaration
ValueTask<DateTime> LastSaveAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.DateTime>

Parameters
TypeName
System.Threading.CancellationTokentoken

PingAsync(CancellationToken)

View Source
Declaration
ValueTask<bool> PingAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.Threading.CancellationTokentoken

EchoAsync(String, CancellationToken)

View Source
Declaration
ValueTask<string> EchoAsync(string text, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.Stringtext
System.Threading.CancellationTokentoken

CustomAsync(Object[], CancellationToken)

View Source
Declaration
ValueTask<RedisText> CustomAsync(object[] cmdWithArgs, CancellationToken token = default(CancellationToken))
Returns

ValueTask<ServiceStack.Redis.RedisText>

Parameters
TypeName
System.Object[]cmdWithArgs
System.Threading.CancellationTokentoken

CustomAsync(Object[])

View Source
Declaration
ValueTask<RedisText> CustomAsync(params object[] cmdWithArgs)
Returns

ValueTask<ServiceStack.Redis.RedisText>

Parameters
TypeName
System.Object[]cmdWithArgs

ForegroundSaveAsync(CancellationToken)

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

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

BackgroundSaveAsync(CancellationToken)

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

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

ShutdownAsync(CancellationToken)

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

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

ShutdownNoSaveAsync(CancellationToken)

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

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

BackgroundRewriteAppendOnlyFileAsync(CancellationToken)

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

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

FlushDbAsync(CancellationToken)

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

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

GetServerRoleAsync(CancellationToken)

View Source
Declaration
ValueTask<RedisServerRole> GetServerRoleAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<ServiceStack.Redis.RedisServerRole>

Parameters
TypeName
System.Threading.CancellationTokentoken

GetServerRoleInfoAsync(CancellationToken)

View Source
Declaration
ValueTask<RedisText> GetServerRoleInfoAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<ServiceStack.Redis.RedisText>

Parameters
TypeName
System.Threading.CancellationTokentoken

GetConfigAsync(String, CancellationToken)

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

ValueTask<System.String>

Parameters
TypeName
System.Stringitem
System.Threading.CancellationTokentoken

SetConfigAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask SetConfigAsync(string item, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Stringitem
System.Stringvalue
System.Threading.CancellationTokentoken

SaveConfigAsync(CancellationToken)

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

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

ResetInfoStatsAsync(CancellationToken)

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

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

GetClientAsync(CancellationToken)

View Source
Declaration
ValueTask<string> GetClientAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.Threading.CancellationTokentoken

SetClientAsync(String, CancellationToken)

View Source
Declaration
ValueTask SetClientAsync(string name, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Stringname
System.Threading.CancellationTokentoken

KillClientAsync(String, CancellationToken)

View Source
Declaration
ValueTask KillClientAsync(string address, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Stringaddress
System.Threading.CancellationTokentoken

KillClientsAsync(String, String, Nullable<RedisClientType>, Nullable<Boolean>, CancellationToken)

View Source
Declaration
ValueTask<long> KillClientsAsync(string fromAddress = null, string withId = null, RedisClientType? ofType = null, bool? skipMe = null, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringfromAddress
System.StringwithId
System.Nullable<ServiceStack.Redis.RedisClientType>ofType
System.Nullable<System.Boolean>skipMe
System.Threading.CancellationTokentoken

GetClientsInfoAsync(CancellationToken)

View Source
Declaration
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
TypeName
System.Threading.CancellationTokentoken

PauseAllClientsAsync(TimeSpan, CancellationToken)

View Source
Declaration
ValueTask PauseAllClientsAsync(TimeSpan duration, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.TimeSpanduration
System.Threading.CancellationTokentoken

GetAllKeysAsync(CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetAllKeysAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.Threading.CancellationTokentoken

UrnKey<T>(T)

View Source
Declaration
string UrnKey<T>(T value)
Returns

System.String

Parameters
TypeName
<T>value
Type Parameters
  • T

UrnKey<T>(Object)

View Source
Declaration
string UrnKey<T>(object id)
Returns

System.String

Parameters
TypeName
System.Objectid
Type Parameters
  • T

UrnKey(Type, Object)

View Source
Declaration
string UrnKey(Type type, object id)
Returns

System.String

Parameters
TypeName
System.Typetype
System.Objectid

SetAllAsync(IEnumerable<String>, IEnumerable<String>, CancellationToken)

View Source
Declaration
ValueTask SetAllAsync(IEnumerable<string> keys, IEnumerable<string> values, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Collections.Generic.IEnumerable<System.String>keys
System.Collections.Generic.IEnumerable<System.String>values
System.Threading.CancellationTokentoken

SetAllAsync(IDictionary<String, String>, CancellationToken)

View Source
Declaration
ValueTask SetAllAsync(IDictionary<string, string> map, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Collections.Generic.IDictionary<System.String,System.String>map
System.Threading.CancellationTokentoken

SetValuesAsync(IDictionary<String, String>, CancellationToken)

View Source
Declaration
ValueTask SetValuesAsync(IDictionary<string, string> map, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Collections.Generic.IDictionary<System.String,System.String>map
System.Threading.CancellationTokentoken

SetValueAsync(String, String, CancellationToken)

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

ValueTask

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

SetValueAsync(String, String, TimeSpan, CancellationToken)

View Source
Declaration
ValueTask SetValueAsync(string key, string value, TimeSpan expireIn, CancellationToken token = default(CancellationToken))
Returns

ValueTask

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

SetValueIfNotExistsAsync(String, String, Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<bool> SetValueIfNotExistsAsync(string key, string value, TimeSpan? expireIn = null, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.Stringkey
System.Stringvalue
System.Nullable<System.TimeSpan>expireIn
System.Threading.CancellationTokentoken

SetValueIfExistsAsync(String, String, Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<bool> SetValueIfExistsAsync(string key, string value, TimeSpan? expireIn = null, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.Stringkey
System.Stringvalue
System.Nullable<System.TimeSpan>expireIn
System.Threading.CancellationTokentoken

GetValueAsync(String, CancellationToken)

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

ValueTask<System.String>

Parameters
TypeName
System.Stringkey
System.Threading.CancellationTokentoken

GetAndSetValueAsync(String, String, CancellationToken)

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

ValueTask<System.String>

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

GetValuesAsync(List<String>, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetValuesAsync(List<string> keys, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.Collections.Generic.List<System.String>keys
System.Threading.CancellationTokentoken

GetValuesAsync<T>(List<String>, CancellationToken)

View Source
Declaration
ValueTask<List<T>> GetValuesAsync<T>(List<string> keys, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<<T>>>

Parameters
TypeName
System.Collections.Generic.List<System.String>keys
System.Threading.CancellationTokentoken
Type Parameters
  • T

GetValuesMapAsync(List<String>, CancellationToken)

View Source
Declaration
ValueTask<Dictionary<string, string>> GetValuesMapAsync(List<string> keys, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.Dictionary<System.String,System.String>>

Parameters
TypeName
System.Collections.Generic.List<System.String>keys
System.Threading.CancellationTokentoken

GetValuesMapAsync<T>(List<String>, CancellationToken)

View Source
Declaration
ValueTask<Dictionary<string, T>> GetValuesMapAsync<T>(List<string> keys, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.Dictionary<System.String,<T>>>

Parameters
TypeName
System.Collections.Generic.List<System.String>keys
System.Threading.CancellationTokentoken
Type Parameters
  • T

AppendToAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask<long> AppendToAsync(string key, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

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

SliceAsync(String, Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask<string> SliceAsync(string key, int fromIndex, int toIndex, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.Stringkey
System.Int32fromIndex
System.Int32toIndex
System.Threading.CancellationTokentoken

InsertAtAsync(String, Int32, String, CancellationToken)

View Source
Declaration
ValueTask<long> InsertAtAsync(string key, int offset, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

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

RenameKeyAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask RenameKeyAsync(string fromName, string toName, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringfromName
System.StringtoName
System.Threading.CancellationTokentoken

GetFromHashAsync<T>(Object, CancellationToken)

View Source
Declaration
ValueTask<T> GetFromHashAsync<T>(object id, CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
System.Objectid
System.Threading.CancellationTokentoken
Type Parameters
  • T

StoreAsHashAsync<T>(T, CancellationToken)

View Source
Declaration
ValueTask StoreAsHashAsync<T>(T entity, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
<T>entity
System.Threading.CancellationTokentoken
Type Parameters
  • T

StoreObjectAsync(Object, CancellationToken)

View Source
Declaration
ValueTask<object> StoreObjectAsync(object entity, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Object>

Parameters
TypeName
System.Objectentity
System.Threading.CancellationTokentoken

ContainsKeyAsync(String, CancellationToken)

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

ValueTask<System.Boolean>

Parameters
TypeName
System.Stringkey
System.Threading.CancellationTokentoken

RemoveEntryAsync(String[], CancellationToken)

View Source
Declaration
ValueTask<bool> RemoveEntryAsync(string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.String[]args
System.Threading.CancellationTokentoken

RemoveEntryAsync(String[])

View Source
Declaration
ValueTask<bool> RemoveEntryAsync(params string[] args)
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.String[]args

IncrementValueAsync(String, CancellationToken)

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

ValueTask<System.Int64>

Parameters
TypeName
System.Stringkey
System.Threading.CancellationTokentoken

IncrementValueByAsync(String, Int32, CancellationToken)

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

ValueTask<System.Int64>

Parameters
TypeName
System.Stringkey
System.Int32count
System.Threading.CancellationTokentoken

IncrementValueByAsync(String, Int64, CancellationToken)

View Source
Declaration
ValueTask<long> IncrementValueByAsync(string key, long count, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.Stringkey
System.Int64count
System.Threading.CancellationTokentoken

IncrementValueByAsync(String, Double, CancellationToken)

View Source
Declaration
ValueTask<double> IncrementValueByAsync(string key, double count, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Double>

Parameters
TypeName
System.Stringkey
System.Doublecount
System.Threading.CancellationTokentoken

DecrementValueAsync(String, CancellationToken)

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

ValueTask<System.Int64>

Parameters
TypeName
System.Stringkey
System.Threading.CancellationTokentoken

DecrementValueByAsync(String, Int32, CancellationToken)

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

ValueTask<System.Int64>

Parameters
TypeName
System.Stringkey
System.Int32count
System.Threading.CancellationTokentoken

SearchKeysAsync(String, CancellationToken)

View Source
Declaration
ValueTask<List<string>> SearchKeysAsync(string pattern, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.Stringpattern
System.Threading.CancellationTokentoken

TypeAsync(String, CancellationToken)

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

ValueTask<System.String>

Parameters
TypeName
System.Stringkey
System.Threading.CancellationTokentoken

GetEntryTypeAsync(String, CancellationToken)

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

ValueTask<ServiceStack.Redis.RedisKeyType>

Parameters
TypeName
System.Stringkey
System.Threading.CancellationTokentoken

GetStringCountAsync(String, CancellationToken)

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

ValueTask<System.Int64>

Parameters
TypeName
System.Stringkey
System.Threading.CancellationTokentoken

GetRandomKeyAsync(CancellationToken)

View Source
Declaration
ValueTask<string> GetRandomKeyAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.Threading.CancellationTokentoken

ExpireEntryInAsync(String, TimeSpan, CancellationToken)

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

ValueTask<System.Boolean>

Parameters
TypeName
System.Stringkey
System.TimeSpanexpireIn
System.Threading.CancellationTokentoken

ExpireEntryAtAsync(String, DateTime, CancellationToken)

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

ValueTask<System.Boolean>

Parameters
TypeName
System.Stringkey
System.DateTimeexpireAt
System.Threading.CancellationTokentoken

GetSortedEntryValuesAsync(String, Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetSortedEntryValuesAsync(string key, int startingFrom, int endingAt, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.Stringkey
System.Int32startingFrom
System.Int32endingAt
System.Threading.CancellationTokentoken

WriteAllAsync<TEntity>(IEnumerable<TEntity>, CancellationToken)

View Source
Declaration
ValueTask WriteAllAsync<TEntity>(IEnumerable<TEntity> entities, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Collections.Generic.IEnumerable<<TEntity>>entities
System.Threading.CancellationTokentoken
Type Parameters
  • TEntity

ScanAllKeysAsync(String, Int32, CancellationToken)

View Source
Declaration
IAsyncEnumerable<string> ScanAllKeysAsync(string pattern = null, int pageSize = 1000, CancellationToken token = default(CancellationToken))
Returns

IAsyncEnumerable<System.String>

Parameters
TypeName
System.Stringpattern
System.Int32pageSize
System.Threading.CancellationTokentoken

ScanAllSetItemsAsync(String, String, Int32, CancellationToken)

View Source
Declaration
IAsyncEnumerable<string> ScanAllSetItemsAsync(string setId, string pattern = null, int pageSize = 1000, CancellationToken token = default(CancellationToken))
Returns

IAsyncEnumerable<System.String>

Parameters
TypeName
System.StringsetId
System.Stringpattern
System.Int32pageSize
System.Threading.CancellationTokentoken

ScanAllSortedSetItemsAsync(String, String, Int32, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.Stringpattern
System.Int32pageSize
System.Threading.CancellationTokentoken

ScanAllHashEntriesAsync(String, String, Int32, CancellationToken)

View Source
Declaration
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
TypeName
System.StringhashId
System.Stringpattern
System.Int32pageSize
System.Threading.CancellationTokentoken

AddToHyperLogAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<bool> AddToHyperLogAsync(string key, string[] elements, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.Stringkey
System.String[]elements
System.Threading.CancellationTokentoken

AddToHyperLogAsync(String, String[])

View Source
Declaration
ValueTask<bool> AddToHyperLogAsync(string key, params string[] elements)
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.Stringkey
System.String[]elements

CountHyperLogAsync(String, CancellationToken)

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

ValueTask<System.Int64>

Parameters
TypeName
System.Stringkey
System.Threading.CancellationTokentoken

MergeHyperLogsAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask MergeHyperLogsAsync(string toKey, string[] fromKeys, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringtoKey
System.String[]fromKeys
System.Threading.CancellationTokentoken

MergeHyperLogsAsync(String, String[])

View Source
Declaration
ValueTask MergeHyperLogsAsync(string toKey, params string[] fromKeys)
Returns

ValueTask

Parameters
TypeName
System.StringtoKey
System.String[]fromKeys

AddGeoMemberAsync(String, Double, Double, String, CancellationToken)

View Source
Declaration
ValueTask<long> AddGeoMemberAsync(string key, double longitude, double latitude, string member, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.Stringkey
System.Doublelongitude
System.Doublelatitude
System.Stringmember
System.Threading.CancellationTokentoken

AddGeoMembersAsync(String, RedisGeo[], CancellationToken)

View Source
Declaration
ValueTask<long> AddGeoMembersAsync(string key, RedisGeo[] geoPoints, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.Stringkey
ServiceStack.Redis.RedisGeo[]geoPoints
System.Threading.CancellationTokentoken

AddGeoMembersAsync(String, RedisGeo[])

View Source
Declaration
ValueTask<long> AddGeoMembersAsync(string key, params RedisGeo[] geoPoints)
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.Stringkey
ServiceStack.Redis.RedisGeo[]geoPoints

CalculateDistanceBetweenGeoMembersAsync(String, String, String, String, CancellationToken)

View Source
Declaration
ValueTask<double> CalculateDistanceBetweenGeoMembersAsync(string key, string fromMember, string toMember, string unit = null, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Double>

Parameters
TypeName
System.Stringkey
System.StringfromMember
System.StringtoMember
System.Stringunit
System.Threading.CancellationTokentoken

GetGeohashesAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<string[]> GetGeohashesAsync(string key, string[] members, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String[]>

Parameters
TypeName
System.Stringkey
System.String[]members
System.Threading.CancellationTokentoken

GetGeohashesAsync(String, String[])

View Source
Declaration
ValueTask<string[]> GetGeohashesAsync(string key, params string[] members)
Returns

ValueTask<System.String[]>

Parameters
TypeName
System.Stringkey
System.String[]members

GetGeoCoordinatesAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<List<RedisGeo>> GetGeoCoordinatesAsync(string key, string[] members, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<ServiceStack.Redis.RedisGeo>>

Parameters
TypeName
System.Stringkey
System.String[]members
System.Threading.CancellationTokentoken

GetGeoCoordinatesAsync(String, String[])

View Source
Declaration
ValueTask<List<RedisGeo>> GetGeoCoordinatesAsync(string key, params string[] members)
Returns

ValueTask<System.Collections.Generic.List<ServiceStack.Redis.RedisGeo>>

Parameters
TypeName
System.Stringkey
System.String[]members

FindGeoMembersInRadiusAsync(String, Double, Double, Double, String, CancellationToken)

View Source
Declaration
ValueTask<string[]> FindGeoMembersInRadiusAsync(string key, double longitude, double latitude, double radius, string unit, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String[]>

Parameters
TypeName
System.Stringkey
System.Doublelongitude
System.Doublelatitude
System.Doubleradius
System.Stringunit
System.Threading.CancellationTokentoken

FindGeoResultsInRadiusAsync(String, Double, Double, Double, String, Nullable<Int32>, Nullable<Boolean>, CancellationToken)

View Source
Declaration
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
TypeName
System.Stringkey
System.Doublelongitude
System.Doublelatitude
System.Doubleradius
System.Stringunit
System.Nullable<System.Int32>count
System.Nullable<System.Boolean>sortByNearest
System.Threading.CancellationTokentoken

FindGeoMembersInRadiusAsync(String, String, Double, String, CancellationToken)

View Source
Declaration
ValueTask<string[]> FindGeoMembersInRadiusAsync(string key, string member, double radius, string unit, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String[]>

Parameters
TypeName
System.Stringkey
System.Stringmember
System.Doubleradius
System.Stringunit
System.Threading.CancellationTokentoken

FindGeoResultsInRadiusAsync(String, String, Double, String, Nullable<Int32>, Nullable<Boolean>, CancellationToken)

View Source
Declaration
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
TypeName
System.Stringkey
System.Stringmember
System.Doubleradius
System.Stringunit
System.Nullable<System.Int32>count
System.Nullable<System.Boolean>sortByNearest
System.Threading.CancellationTokentoken

As<T>()

Returns a high-level typed client API

View Source
Declaration
IRedisTypedClientAsync<T> As<T>()
Returns

ServiceStack.Redis.Generic.IRedisTypedClientAsync<T>

Type Parameters
  • T

CreateTransactionAsync(CancellationToken)

View Source
Declaration
ValueTask<IRedisTransactionAsync> CreateTransactionAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<ServiceStack.Redis.IRedisTransactionAsync>

Parameters
TypeName
System.Threading.CancellationTokentoken

CreatePipeline()

View Source
Declaration
IRedisPipelineAsync CreatePipeline()
Returns

ServiceStack.Redis.Pipeline.IRedisPipelineAsync

AcquireLockAsync(String, Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<IAsyncDisposable> AcquireLockAsync(string key, TimeSpan? timeOut = null, CancellationToken token = default(CancellationToken))
Returns

ValueTask<IAsyncDisposable>

Parameters
TypeName
System.Stringkey
System.Nullable<System.TimeSpan>timeOut
System.Threading.CancellationTokentoken

WatchAsync(String[], CancellationToken)

View Source
Declaration
ValueTask WatchAsync(string[] keys, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.String[]keys
System.Threading.CancellationTokentoken

WatchAsync(String[])

View Source
Declaration
ValueTask WatchAsync(params string[] keys)
Returns

ValueTask

Parameters
TypeName
System.String[]keys

UnWatchAsync(CancellationToken)

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

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

CreateSubscriptionAsync(CancellationToken)

View Source
Declaration
ValueTask<IRedisSubscriptionAsync> CreateSubscriptionAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<ServiceStack.Redis.IRedisSubscriptionAsync>

Parameters
TypeName
System.Threading.CancellationTokentoken

PublishMessageAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask<long> PublishMessageAsync(string toChannel, string message, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringtoChannel
System.Stringmessage
System.Threading.CancellationTokentoken

GetAllItemsFromSetAsync(String, CancellationToken)

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

ValueTask<System.Collections.Generic.HashSet<System.String>>

Parameters
TypeName
System.StringsetId
System.Threading.CancellationTokentoken

AddItemToSetAsync(String, String, CancellationToken)

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

ValueTask

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

AddRangeToSetAsync(String, List<String>, CancellationToken)

View Source
Declaration
ValueTask AddRangeToSetAsync(string setId, List<string> items, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringsetId
System.Collections.Generic.List<System.String>items
System.Threading.CancellationTokentoken

RemoveItemFromSetAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask RemoveItemFromSetAsync(string setId, string item, CancellationToken token = default(CancellationToken))
Returns

ValueTask

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

PopItemFromSetAsync(String, CancellationToken)

View Source
Declaration
ValueTask<string> PopItemFromSetAsync(string setId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringsetId
System.Threading.CancellationTokentoken

PopItemsFromSetAsync(String, Int32, CancellationToken)

View Source
Declaration
ValueTask<List<string>> PopItemsFromSetAsync(string setId, int count, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringsetId
System.Int32count
System.Threading.CancellationTokentoken

MoveBetweenSetsAsync(String, String, String, CancellationToken)

View Source
Declaration
ValueTask MoveBetweenSetsAsync(string fromSetId, string toSetId, string item, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringfromSetId
System.StringtoSetId
System.Stringitem
System.Threading.CancellationTokentoken

GetSetCountAsync(String, CancellationToken)

View Source
Declaration
ValueTask<long> GetSetCountAsync(string setId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringsetId
System.Threading.CancellationTokentoken

SetContainsItemAsync(String, String, CancellationToken)

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

ValueTask<System.Boolean>

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

GetIntersectFromSetsAsync(String[], CancellationToken)

View Source
Declaration
ValueTask<HashSet<string>> GetIntersectFromSetsAsync(string[] setIds, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.HashSet<System.String>>

Parameters
TypeName
System.String[]setIds
System.Threading.CancellationTokentoken

GetIntersectFromSetsAsync(String[])

View Source
Declaration
ValueTask<HashSet<string>> GetIntersectFromSetsAsync(params string[] setIds)
Returns

ValueTask<System.Collections.Generic.HashSet<System.String>>

Parameters
TypeName
System.String[]setIds

StoreIntersectFromSetsAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask StoreIntersectFromSetsAsync(string intoSetId, string[] setIds, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringintoSetId
System.String[]setIds
System.Threading.CancellationTokentoken

StoreIntersectFromSetsAsync(String, String[])

View Source
Declaration
ValueTask StoreIntersectFromSetsAsync(string intoSetId, params string[] setIds)
Returns

ValueTask

Parameters
TypeName
System.StringintoSetId
System.String[]setIds

GetUnionFromSetsAsync(String[], CancellationToken)

View Source
Declaration
ValueTask<HashSet<string>> GetUnionFromSetsAsync(string[] setIds, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.HashSet<System.String>>

Parameters
TypeName
System.String[]setIds
System.Threading.CancellationTokentoken

GetUnionFromSetsAsync(String[])

View Source
Declaration
ValueTask<HashSet<string>> GetUnionFromSetsAsync(params string[] setIds)
Returns

ValueTask<System.Collections.Generic.HashSet<System.String>>

Parameters
TypeName
System.String[]setIds

StoreUnionFromSetsAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask StoreUnionFromSetsAsync(string intoSetId, string[] setIds, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringintoSetId
System.String[]setIds
System.Threading.CancellationTokentoken

StoreUnionFromSetsAsync(String, String[])

View Source
Declaration
ValueTask StoreUnionFromSetsAsync(string intoSetId, params string[] setIds)
Returns

ValueTask

Parameters
TypeName
System.StringintoSetId
System.String[]setIds

GetDifferencesFromSetAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<HashSet<string>> GetDifferencesFromSetAsync(string fromSetId, string[] withSetIds, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.HashSet<System.String>>

Parameters
TypeName
System.StringfromSetId
System.String[]withSetIds
System.Threading.CancellationTokentoken

GetDifferencesFromSetAsync(String, String[])

View Source
Declaration
ValueTask<HashSet<string>> GetDifferencesFromSetAsync(string fromSetId, params string[] withSetIds)
Returns

ValueTask<System.Collections.Generic.HashSet<System.String>>

Parameters
TypeName
System.StringfromSetId
System.String[]withSetIds

StoreDifferencesFromSetAsync(String, String, String[], CancellationToken)

View Source
Declaration
ValueTask StoreDifferencesFromSetAsync(string intoSetId, string fromSetId, string[] withSetIds, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringintoSetId
System.StringfromSetId
System.String[]withSetIds
System.Threading.CancellationTokentoken

StoreDifferencesFromSetAsync(String, String, String[])

View Source
Declaration
ValueTask StoreDifferencesFromSetAsync(string intoSetId, string fromSetId, params string[] withSetIds)
Returns

ValueTask

Parameters
TypeName
System.StringintoSetId
System.StringfromSetId
System.String[]withSetIds

GetRandomItemFromSetAsync(String, CancellationToken)

View Source
Declaration
ValueTask<string> GetRandomItemFromSetAsync(string setId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringsetId
System.Threading.CancellationTokentoken

GetAllItemsFromListAsync(String, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetAllItemsFromListAsync(string listId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringlistId
System.Threading.CancellationTokentoken

GetRangeFromListAsync(String, Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetRangeFromListAsync(string listId, int startingFrom, int endingAt, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringlistId
System.Int32startingFrom
System.Int32endingAt
System.Threading.CancellationTokentoken

GetRangeFromSortedListAsync(String, Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetRangeFromSortedListAsync(string listId, int startingFrom, int endingAt, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringlistId
System.Int32startingFrom
System.Int32endingAt
System.Threading.CancellationTokentoken

GetSortedItemsFromListAsync(String, SortOptions, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetSortedItemsFromListAsync(string listId, SortOptions sortOptions, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringlistId
ServiceStack.Redis.SortOptionssortOptions
System.Threading.CancellationTokentoken

AddItemToListAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask AddItemToListAsync(string listId, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringlistId
System.Stringvalue
System.Threading.CancellationTokentoken

AddRangeToListAsync(String, List<String>, CancellationToken)

View Source
Declaration
ValueTask AddRangeToListAsync(string listId, List<string> values, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringlistId
System.Collections.Generic.List<System.String>values
System.Threading.CancellationTokentoken

PrependItemToListAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask PrependItemToListAsync(string listId, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringlistId
System.Stringvalue
System.Threading.CancellationTokentoken

PrependRangeToListAsync(String, List<String>, CancellationToken)

View Source
Declaration
ValueTask PrependRangeToListAsync(string listId, List<string> values, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringlistId
System.Collections.Generic.List<System.String>values
System.Threading.CancellationTokentoken

RemoveAllFromListAsync(String, CancellationToken)

View Source
Declaration
ValueTask RemoveAllFromListAsync(string listId, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringlistId
System.Threading.CancellationTokentoken

RemoveStartFromListAsync(String, CancellationToken)

View Source
Declaration
ValueTask<string> RemoveStartFromListAsync(string listId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringlistId
System.Threading.CancellationTokentoken

BlockingRemoveStartFromListAsync(String, Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<string> BlockingRemoveStartFromListAsync(string listId, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringlistId
System.Nullable<System.TimeSpan>timeOut
System.Threading.CancellationTokentoken

BlockingRemoveStartFromListsAsync(String[], Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<ItemRef> BlockingRemoveStartFromListsAsync(string[] listIds, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns

ValueTask<ServiceStack.Redis.ItemRef>

Parameters
TypeName
System.String[]listIds
System.Nullable<System.TimeSpan>timeOut
System.Threading.CancellationTokentoken

RemoveEndFromListAsync(String, CancellationToken)

View Source
Declaration
ValueTask<string> RemoveEndFromListAsync(string listId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringlistId
System.Threading.CancellationTokentoken

TrimListAsync(String, Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask TrimListAsync(string listId, int keepStartingFrom, int keepEndingAt, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringlistId
System.Int32keepStartingFrom
System.Int32keepEndingAt
System.Threading.CancellationTokentoken

RemoveItemFromListAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask<long> RemoveItemFromListAsync(string listId, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringlistId
System.Stringvalue
System.Threading.CancellationTokentoken

RemoveItemFromListAsync(String, String, Int32, CancellationToken)

View Source
Declaration
ValueTask<long> RemoveItemFromListAsync(string listId, string value, int noOfMatches, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringlistId
System.Stringvalue
System.Int32noOfMatches
System.Threading.CancellationTokentoken

GetListCountAsync(String, CancellationToken)

View Source
Declaration
ValueTask<long> GetListCountAsync(string listId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringlistId
System.Threading.CancellationTokentoken

GetItemFromListAsync(String, Int32, CancellationToken)

View Source
Declaration
ValueTask<string> GetItemFromListAsync(string listId, int listIndex, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringlistId
System.Int32listIndex
System.Threading.CancellationTokentoken

SetItemInListAsync(String, Int32, String, CancellationToken)

View Source
Declaration
ValueTask SetItemInListAsync(string listId, int listIndex, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringlistId
System.Int32listIndex
System.Stringvalue
System.Threading.CancellationTokentoken

EnqueueItemOnListAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask EnqueueItemOnListAsync(string listId, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringlistId
System.Stringvalue
System.Threading.CancellationTokentoken

DequeueItemFromListAsync(String, CancellationToken)

View Source
Declaration
ValueTask<string> DequeueItemFromListAsync(string listId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringlistId
System.Threading.CancellationTokentoken

BlockingDequeueItemFromListAsync(String, Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<string> BlockingDequeueItemFromListAsync(string listId, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringlistId
System.Nullable<System.TimeSpan>timeOut
System.Threading.CancellationTokentoken

BlockingDequeueItemFromListsAsync(String[], Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<ItemRef> BlockingDequeueItemFromListsAsync(string[] listIds, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns

ValueTask<ServiceStack.Redis.ItemRef>

Parameters
TypeName
System.String[]listIds
System.Nullable<System.TimeSpan>timeOut
System.Threading.CancellationTokentoken

PushItemToListAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask PushItemToListAsync(string listId, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.StringlistId
System.Stringvalue
System.Threading.CancellationTokentoken

PopItemFromListAsync(String, CancellationToken)

View Source
Declaration
ValueTask<string> PopItemFromListAsync(string listId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringlistId
System.Threading.CancellationTokentoken

BlockingPopItemFromListAsync(String, Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<string> BlockingPopItemFromListAsync(string listId, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringlistId
System.Nullable<System.TimeSpan>timeOut
System.Threading.CancellationTokentoken

BlockingPopItemFromListsAsync(String[], Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<ItemRef> BlockingPopItemFromListsAsync(string[] listIds, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns

ValueTask<ServiceStack.Redis.ItemRef>

Parameters
TypeName
System.String[]listIds
System.Nullable<System.TimeSpan>timeOut
System.Threading.CancellationTokentoken

PopAndPushItemBetweenListsAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask<string> PopAndPushItemBetweenListsAsync(string fromListId, string toListId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringfromListId
System.StringtoListId
System.Threading.CancellationTokentoken

BlockingPopAndPushItemBetweenListsAsync(String, String, Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<string> BlockingPopAndPushItemBetweenListsAsync(string fromListId, string toListId, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringfromListId
System.StringtoListId
System.Nullable<System.TimeSpan>timeOut
System.Threading.CancellationTokentoken

AddItemToSortedSetAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask<bool> AddItemToSortedSetAsync(string setId, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.StringsetId
System.Stringvalue
System.Threading.CancellationTokentoken

AddItemToSortedSetAsync(String, String, Double, CancellationToken)

View Source
Declaration
ValueTask<bool> AddItemToSortedSetAsync(string setId, string value, double score, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.StringsetId
System.Stringvalue
System.Doublescore
System.Threading.CancellationTokentoken

AddRangeToSortedSetAsync(String, List<String>, Double, CancellationToken)

View Source
Declaration
ValueTask<bool> AddRangeToSortedSetAsync(string setId, List<string> values, double score, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.StringsetId
System.Collections.Generic.List<System.String>values
System.Doublescore
System.Threading.CancellationTokentoken

AddRangeToSortedSetAsync(String, List<String>, Int64, CancellationToken)

View Source
Declaration
ValueTask<bool> AddRangeToSortedSetAsync(string setId, List<string> values, long score, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.StringsetId
System.Collections.Generic.List<System.String>values
System.Int64score
System.Threading.CancellationTokentoken

RemoveItemFromSortedSetAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask<bool> RemoveItemFromSortedSetAsync(string setId, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.StringsetId
System.Stringvalue
System.Threading.CancellationTokentoken

RemoveItemsFromSortedSetAsync(String, List<String>, CancellationToken)

View Source
Declaration
ValueTask<long> RemoveItemsFromSortedSetAsync(string setId, List<string> values, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringsetId
System.Collections.Generic.List<System.String>values
System.Threading.CancellationTokentoken

PopItemWithLowestScoreFromSortedSetAsync(String, CancellationToken)

View Source
Declaration
ValueTask<string> PopItemWithLowestScoreFromSortedSetAsync(string setId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringsetId
System.Threading.CancellationTokentoken

PopItemWithHighestScoreFromSortedSetAsync(String, CancellationToken)

View Source
Declaration
ValueTask<string> PopItemWithHighestScoreFromSortedSetAsync(string setId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringsetId
System.Threading.CancellationTokentoken

SortedSetContainsItemAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask<bool> SortedSetContainsItemAsync(string setId, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.StringsetId
System.Stringvalue
System.Threading.CancellationTokentoken

IncrementItemInSortedSetAsync(String, String, Double, CancellationToken)

View Source
Declaration
ValueTask<double> IncrementItemInSortedSetAsync(string setId, string value, double incrementBy, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Double>

Parameters
TypeName
System.StringsetId
System.Stringvalue
System.DoubleincrementBy
System.Threading.CancellationTokentoken

IncrementItemInSortedSetAsync(String, String, Int64, CancellationToken)

View Source
Declaration
ValueTask<double> IncrementItemInSortedSetAsync(string setId, string value, long incrementBy, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Double>

Parameters
TypeName
System.StringsetId
System.Stringvalue
System.Int64incrementBy
System.Threading.CancellationTokentoken

GetItemIndexInSortedSetAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask<long> GetItemIndexInSortedSetAsync(string setId, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringsetId
System.Stringvalue
System.Threading.CancellationTokentoken

GetItemIndexInSortedSetDescAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask<long> GetItemIndexInSortedSetDescAsync(string setId, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringsetId
System.Stringvalue
System.Threading.CancellationTokentoken

GetAllItemsFromSortedSetAsync(String, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetAllItemsFromSortedSetAsync(string setId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringsetId
System.Threading.CancellationTokentoken

GetAllItemsFromSortedSetDescAsync(String, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetAllItemsFromSortedSetDescAsync(string setId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringsetId
System.Threading.CancellationTokentoken

GetRangeFromSortedSetAsync(String, Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetRangeFromSortedSetAsync(string setId, int fromRank, int toRank, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringsetId
System.Int32fromRank
System.Int32toRank
System.Threading.CancellationTokentoken

GetRangeFromSortedSetDescAsync(String, Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetRangeFromSortedSetDescAsync(string setId, int fromRank, int toRank, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringsetId
System.Int32fromRank
System.Int32toRank
System.Threading.CancellationTokentoken

GetAllWithScoresFromSortedSetAsync(String, CancellationToken)

View Source
Declaration
ValueTask<IDictionary<string, double>> GetAllWithScoresFromSortedSetAsync(string setId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.IDictionary<System.String,System.Double>>

Parameters
TypeName
System.StringsetId
System.Threading.CancellationTokentoken

GetRangeWithScoresFromSortedSetAsync(String, Int32, Int32, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.Int32fromRank
System.Int32toRank
System.Threading.CancellationTokentoken

GetRangeWithScoresFromSortedSetDescAsync(String, Int32, Int32, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.Int32fromRank
System.Int32toRank
System.Threading.CancellationTokentoken

GetRangeFromSortedSetByLowestScoreAsync(String, String, String, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetRangeFromSortedSetByLowestScoreAsync(string setId, string fromStringScore, string toStringScore, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringsetId
System.StringfromStringScore
System.StringtoStringScore
System.Threading.CancellationTokentoken

GetRangeFromSortedSetByLowestScoreAsync(String, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.StringfromStringScore
System.StringtoStringScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

GetRangeFromSortedSetByLowestScoreAsync(String, Double, Double, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetRangeFromSortedSetByLowestScoreAsync(string setId, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringsetId
System.DoublefromScore
System.DoubletoScore
System.Threading.CancellationTokentoken

GetRangeFromSortedSetByLowestScoreAsync(String, Int64, Int64, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetRangeFromSortedSetByLowestScoreAsync(string setId, long fromScore, long toScore, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringsetId
System.Int64fromScore
System.Int64toScore
System.Threading.CancellationTokentoken

GetRangeFromSortedSetByLowestScoreAsync(String, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.DoublefromScore
System.DoubletoScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

GetRangeFromSortedSetByLowestScoreAsync(String, Int64, Int64, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.Int64fromScore
System.Int64toScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

GetRangeWithScoresFromSortedSetByLowestScoreAsync(String, String, String, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.StringfromStringScore
System.StringtoStringScore
System.Threading.CancellationTokentoken

GetRangeWithScoresFromSortedSetByLowestScoreAsync(String, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.StringfromStringScore
System.StringtoStringScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

GetRangeWithScoresFromSortedSetByLowestScoreAsync(String, Double, Double, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.DoublefromScore
System.DoubletoScore
System.Threading.CancellationTokentoken

GetRangeWithScoresFromSortedSetByLowestScoreAsync(String, Int64, Int64, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.Int64fromScore
System.Int64toScore
System.Threading.CancellationTokentoken

GetRangeWithScoresFromSortedSetByLowestScoreAsync(String, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.DoublefromScore
System.DoubletoScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

GetRangeWithScoresFromSortedSetByLowestScoreAsync(String, Int64, Int64, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.Int64fromScore
System.Int64toScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

GetRangeFromSortedSetByHighestScoreAsync(String, String, String, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetRangeFromSortedSetByHighestScoreAsync(string setId, string fromStringScore, string toStringScore, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringsetId
System.StringfromStringScore
System.StringtoStringScore
System.Threading.CancellationTokentoken

GetRangeFromSortedSetByHighestScoreAsync(String, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.StringfromStringScore
System.StringtoStringScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

GetRangeFromSortedSetByHighestScoreAsync(String, Double, Double, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetRangeFromSortedSetByHighestScoreAsync(string setId, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringsetId
System.DoublefromScore
System.DoubletoScore
System.Threading.CancellationTokentoken

GetRangeFromSortedSetByHighestScoreAsync(String, Int64, Int64, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetRangeFromSortedSetByHighestScoreAsync(string setId, long fromScore, long toScore, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringsetId
System.Int64fromScore
System.Int64toScore
System.Threading.CancellationTokentoken

GetRangeFromSortedSetByHighestScoreAsync(String, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.DoublefromScore
System.DoubletoScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

GetRangeFromSortedSetByHighestScoreAsync(String, Int64, Int64, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.Int64fromScore
System.Int64toScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

GetRangeWithScoresFromSortedSetByHighestScoreAsync(String, String, String, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.StringfromStringScore
System.StringtoStringScore
System.Threading.CancellationTokentoken

GetRangeWithScoresFromSortedSetByHighestScoreAsync(String, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.StringfromStringScore
System.StringtoStringScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

GetRangeWithScoresFromSortedSetByHighestScoreAsync(String, Double, Double, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.DoublefromScore
System.DoubletoScore
System.Threading.CancellationTokentoken

GetRangeWithScoresFromSortedSetByHighestScoreAsync(String, Int64, Int64, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.Int64fromScore
System.Int64toScore
System.Threading.CancellationTokentoken

GetRangeWithScoresFromSortedSetByHighestScoreAsync(String, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.DoublefromScore
System.DoubletoScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

GetRangeWithScoresFromSortedSetByHighestScoreAsync(String, Int64, Int64, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.Int64fromScore
System.Int64toScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

RemoveRangeFromSortedSetAsync(String, Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask<long> RemoveRangeFromSortedSetAsync(string setId, int minRank, int maxRank, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringsetId
System.Int32minRank
System.Int32maxRank
System.Threading.CancellationTokentoken

RemoveRangeFromSortedSetByScoreAsync(String, Double, Double, CancellationToken)

View Source
Declaration
ValueTask<long> RemoveRangeFromSortedSetByScoreAsync(string setId, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringsetId
System.DoublefromScore
System.DoubletoScore
System.Threading.CancellationTokentoken

RemoveRangeFromSortedSetByScoreAsync(String, Int64, Int64, CancellationToken)

View Source
Declaration
ValueTask<long> RemoveRangeFromSortedSetByScoreAsync(string setId, long fromScore, long toScore, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringsetId
System.Int64fromScore
System.Int64toScore
System.Threading.CancellationTokentoken

GetSortedSetCountAsync(String, CancellationToken)

View Source
Declaration
ValueTask<long> GetSortedSetCountAsync(string setId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringsetId
System.Threading.CancellationTokentoken

GetSortedSetCountAsync(String, String, String, CancellationToken)

View Source
Declaration
ValueTask<long> GetSortedSetCountAsync(string setId, string fromStringScore, string toStringScore, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringsetId
System.StringfromStringScore
System.StringtoStringScore
System.Threading.CancellationTokentoken

GetSortedSetCountAsync(String, Int64, Int64, CancellationToken)

View Source
Declaration
ValueTask<long> GetSortedSetCountAsync(string setId, long fromScore, long toScore, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringsetId
System.Int64fromScore
System.Int64toScore
System.Threading.CancellationTokentoken

GetSortedSetCountAsync(String, Double, Double, CancellationToken)

View Source
Declaration
ValueTask<long> GetSortedSetCountAsync(string setId, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringsetId
System.DoublefromScore
System.DoubletoScore
System.Threading.CancellationTokentoken

GetItemScoreInSortedSetAsync(String, String, CancellationToken)

View Source
Declaration
ValueTask<double> GetItemScoreInSortedSetAsync(string setId, string value, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Double>

Parameters
TypeName
System.StringsetId
System.Stringvalue
System.Threading.CancellationTokentoken

StoreIntersectFromSortedSetsAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<long> StoreIntersectFromSortedSetsAsync(string intoSetId, string[] setIds, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringintoSetId
System.String[]setIds
System.Threading.CancellationTokentoken

StoreIntersectFromSortedSetsAsync(String, String[])

View Source
Declaration
ValueTask<long> StoreIntersectFromSortedSetsAsync(string intoSetId, params string[] setIds)
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringintoSetId
System.String[]setIds

StoreIntersectFromSortedSetsAsync(String, String[], String[], CancellationToken)

View Source
Declaration
ValueTask<long> StoreIntersectFromSortedSetsAsync(string intoSetId, string[] setIds, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringintoSetId
System.String[]setIds
System.String[]args
System.Threading.CancellationTokentoken

StoreUnionFromSortedSetsAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<long> StoreUnionFromSortedSetsAsync(string intoSetId, string[] setIds, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringintoSetId
System.String[]setIds
System.Threading.CancellationTokentoken

StoreUnionFromSortedSetsAsync(String, String[])

View Source
Declaration
ValueTask<long> StoreUnionFromSortedSetsAsync(string intoSetId, params string[] setIds)
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringintoSetId
System.String[]setIds

StoreUnionFromSortedSetsAsync(String, String[], String[], CancellationToken)

View Source
Declaration
ValueTask<long> StoreUnionFromSortedSetsAsync(string intoSetId, string[] setIds, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringintoSetId
System.String[]setIds
System.String[]args
System.Threading.CancellationTokentoken

SearchSortedSetAsync(String, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
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
TypeName
System.StringsetId
System.Stringstart
System.Stringend
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

SearchSortedSetCountAsync(String, String, String, CancellationToken)

View Source
Declaration
ValueTask<long> SearchSortedSetCountAsync(string setId, string start = null, string end = null, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringsetId
System.Stringstart
System.Stringend
System.Threading.CancellationTokentoken

RemoveRangeFromSortedSetBySearchAsync(String, String, String, CancellationToken)

View Source
Declaration
ValueTask<long> RemoveRangeFromSortedSetBySearchAsync(string setId, string start = null, string end = null, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringsetId
System.Stringstart
System.Stringend
System.Threading.CancellationTokentoken

HashContainsEntryAsync(String, String, CancellationToken)

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

ValueTask<System.Boolean>

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

SetEntryInHashAsync(String, String, String, CancellationToken)

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

ValueTask<System.Boolean>

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

SetEntryInHashIfNotExistsAsync(String, String, String, CancellationToken)

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

ValueTask<System.Boolean>

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

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

View Source
Declaration
ValueTask SetRangeInHashAsync(string hashId, IEnumerable<KeyValuePair<string, string>> keyValuePairs, CancellationToken token = default(CancellationToken))
Returns

ValueTask

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

IncrementValueInHashAsync(String, String, Int32, CancellationToken)

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

ValueTask<System.Int64>

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

IncrementValueInHashAsync(String, String, Double, CancellationToken)

View Source
Declaration
ValueTask<double> IncrementValueInHashAsync(string hashId, string key, double incrementBy, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Double>

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

GetValueFromHashAsync(String, String, CancellationToken)

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

ValueTask<System.String>

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

GetValuesFromHashAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetValuesFromHashAsync(string hashId, string[] keys, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringhashId
System.String[]keys
System.Threading.CancellationTokentoken

GetValuesFromHashAsync(String, String[])

View Source
Declaration
ValueTask<List<string>> GetValuesFromHashAsync(string hashId, params string[] keys)
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringhashId
System.String[]keys

RemoveEntryFromHashAsync(String, String, CancellationToken)

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

ValueTask<System.Boolean>

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

GetHashCountAsync(String, CancellationToken)

View Source
Declaration
ValueTask<long> GetHashCountAsync(string hashId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringhashId
System.Threading.CancellationTokentoken

GetHashKeysAsync(String, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetHashKeysAsync(string hashId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringhashId
System.Threading.CancellationTokentoken

GetHashValuesAsync(String, CancellationToken)

View Source
Declaration
ValueTask<List<string>> GetHashValuesAsync(string hashId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringhashId
System.Threading.CancellationTokentoken

GetAllEntriesFromHashAsync(String, CancellationToken)

View Source
Declaration
ValueTask<Dictionary<string, string>> GetAllEntriesFromHashAsync(string hashId, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.Dictionary<System.String,System.String>>

Parameters
TypeName
System.StringhashId
System.Threading.CancellationTokentoken

ExecCachedLuaAsync<T>(String, Func<String, ValueTask<T>>, CancellationToken)

View Source
Declaration
ValueTask<T> ExecCachedLuaAsync<T>(string scriptBody, Func<string, ValueTask<T>> scriptSha1, CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
System.StringscriptBody
System.Func<System.String,ValueTask<<T>>>scriptSha1
System.Threading.CancellationTokentoken
Type Parameters
  • T

ExecLuaAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<RedisText> ExecLuaAsync(string body, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<ServiceStack.Redis.RedisText>

Parameters
TypeName
System.Stringbody
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaAsync(String, String[])

View Source
Declaration
ValueTask<RedisText> ExecLuaAsync(string body, params string[] args)
Returns

ValueTask<ServiceStack.Redis.RedisText>

Parameters
TypeName
System.Stringbody
System.String[]args

ExecLuaAsync(String, String[], String[], CancellationToken)

View Source
Declaration
ValueTask<RedisText> ExecLuaAsync(string luaBody, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<ServiceStack.Redis.RedisText>

Parameters
TypeName
System.StringluaBody
System.String[]keys
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaShaAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<RedisText> ExecLuaShaAsync(string sha1, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<ServiceStack.Redis.RedisText>

Parameters
TypeName
System.Stringsha1
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaShaAsync(String, String[])

View Source
Declaration
ValueTask<RedisText> ExecLuaShaAsync(string sha1, params string[] args)
Returns

ValueTask<ServiceStack.Redis.RedisText>

Parameters
TypeName
System.Stringsha1
System.String[]args

ExecLuaShaAsync(String, String[], String[], CancellationToken)

View Source
Declaration
ValueTask<RedisText> ExecLuaShaAsync(string sha1, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<ServiceStack.Redis.RedisText>

Parameters
TypeName
System.Stringsha1
System.String[]keys
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaAsStringAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<string> ExecLuaAsStringAsync(string luaBody, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringluaBody
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaAsStringAsync(String, String[])

View Source
Declaration
ValueTask<string> ExecLuaAsStringAsync(string luaBody, params string[] args)
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringluaBody
System.String[]args

ExecLuaAsStringAsync(String, String[], String[], CancellationToken)

View Source
Declaration
ValueTask<string> ExecLuaAsStringAsync(string luaBody, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringluaBody
System.String[]keys
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaShaAsStringAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<string> ExecLuaShaAsStringAsync(string sha1, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.Stringsha1
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaShaAsStringAsync(String, String[])

View Source
Declaration
ValueTask<string> ExecLuaShaAsStringAsync(string sha1, params string[] args)
Returns

ValueTask<System.String>

Parameters
TypeName
System.Stringsha1
System.String[]args

ExecLuaShaAsStringAsync(String, String[], String[], CancellationToken)

View Source
Declaration
ValueTask<string> ExecLuaShaAsStringAsync(string sha1, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.Stringsha1
System.String[]keys
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaAsIntAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<long> ExecLuaAsIntAsync(string luaBody, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringluaBody
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaAsIntAsync(String, String[])

View Source
Declaration
ValueTask<long> ExecLuaAsIntAsync(string luaBody, params string[] args)
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringluaBody
System.String[]args

ExecLuaAsIntAsync(String, String[], String[], CancellationToken)

View Source
Declaration
ValueTask<long> ExecLuaAsIntAsync(string luaBody, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.StringluaBody
System.String[]keys
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaShaAsIntAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<long> ExecLuaShaAsIntAsync(string sha1, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.Stringsha1
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaShaAsIntAsync(String, String[])

View Source
Declaration
ValueTask<long> ExecLuaShaAsIntAsync(string sha1, params string[] args)
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.Stringsha1
System.String[]args

ExecLuaShaAsIntAsync(String, String[], String[], CancellationToken)

View Source
Declaration
ValueTask<long> ExecLuaShaAsIntAsync(string sha1, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.Stringsha1
System.String[]keys
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaAsListAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<List<string>> ExecLuaAsListAsync(string luaBody, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringluaBody
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaAsListAsync(String, String[])

View Source
Declaration
ValueTask<List<string>> ExecLuaAsListAsync(string luaBody, params string[] args)
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringluaBody
System.String[]args

ExecLuaAsListAsync(String, String[], String[], CancellationToken)

View Source
Declaration
ValueTask<List<string>> ExecLuaAsListAsync(string luaBody, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.StringluaBody
System.String[]keys
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaShaAsListAsync(String, String[], CancellationToken)

View Source
Declaration
ValueTask<List<string>> ExecLuaShaAsListAsync(string sha1, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.Stringsha1
System.String[]args
System.Threading.CancellationTokentoken

ExecLuaShaAsListAsync(String, String[])

View Source
Declaration
ValueTask<List<string>> ExecLuaShaAsListAsync(string sha1, params string[] args)
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.Stringsha1
System.String[]args

ExecLuaShaAsListAsync(String, String[], String[], CancellationToken)

View Source
Declaration
ValueTask<List<string>> ExecLuaShaAsListAsync(string sha1, string[] keys, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<System.String>>

Parameters
TypeName
System.Stringsha1
System.String[]keys
System.String[]args
System.Threading.CancellationTokentoken

CalculateSha1Async(String, CancellationToken)

View Source
Declaration
ValueTask<string> CalculateSha1Async(string luaBody, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.StringluaBody
System.Threading.CancellationTokentoken

HasLuaScriptAsync(String, CancellationToken)

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

ValueTask<System.Boolean>

Parameters
TypeName
System.Stringsha1Ref
System.Threading.CancellationTokentoken

WhichLuaScriptsExistsAsync(String[], CancellationToken)

View Source
Declaration
ValueTask<Dictionary<string, bool>> WhichLuaScriptsExistsAsync(string[] sha1Refs, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.Dictionary<System.String,System.Boolean>>

Parameters
TypeName
System.String[]sha1Refs
System.Threading.CancellationTokentoken

WhichLuaScriptsExistsAsync(String[])

View Source
Declaration
ValueTask<Dictionary<string, bool>> WhichLuaScriptsExistsAsync(params string[] sha1Refs)
Returns

ValueTask<System.Collections.Generic.Dictionary<System.String,System.Boolean>>

Parameters
TypeName
System.String[]sha1Refs

RemoveAllLuaScriptsAsync(CancellationToken)

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

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

KillRunningLuaScriptAsync(CancellationToken)

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

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

LoadLuaScriptAsync(String, CancellationToken)

View Source
Declaration
ValueTask<string> LoadLuaScriptAsync(string body, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.String>

Parameters
TypeName
System.Stringbody
System.Threading.CancellationTokentoken

SlowlogResetAsync(CancellationToken)

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

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

GetSlowlogAsync(Nullable<Int32>, CancellationToken)

View Source
Declaration
ValueTask<SlowlogItem[]> GetSlowlogAsync(int? numberOfRecords = null, CancellationToken token = default(CancellationToken))
Returns

ValueTask<ServiceStack.Redis.SlowlogItem[]>

Parameters
TypeName
System.Nullable<System.Int32>numberOfRecords
System.Threading.CancellationTokentoken