IRedisNativeClientAsync
Assembly: ServiceStack.Interfaces.dll
View Source
public interface IRedisNativeClientAsync
Properties
Db
View Source
long Db { get; }
Methods
InfoAsync(CancellationToken)
View Source
ValueTask<Dictionary<string, string>> InfoAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.Dictionary<System.String,System.String>>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
SelectAsync(Int64, CancellationToken)
View Source
ValueTask SelectAsync(long db, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Int64 | db |
System.Threading.CancellationToken | token |
DbSizeAsync(CancellationToken)
View Source
ValueTask<long> DbSizeAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
LastSaveAsync(CancellationToken)
View Source
ValueTask<DateTime> LastSaveAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.DateTime>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
SaveAsync(CancellationToken)
View Source
ValueTask SaveAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
BgSaveAsync(CancellationToken)
View Source
ValueTask BgSaveAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
ShutdownAsync(Boolean, CancellationToken)
View Source
ValueTask ShutdownAsync(bool noSave = false, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Boolean | noSave |
System.Threading.CancellationToken | token |
BgRewriteAofAsync(CancellationToken)
View Source
ValueTask BgRewriteAofAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
QuitAsync(CancellationToken)
View Source
ValueTask QuitAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
FlushDbAsync(CancellationToken)
View Source
ValueTask FlushDbAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
FlushAllAsync(CancellationToken)
View Source
ValueTask FlushAllAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
PingAsync(CancellationToken)
View Source
ValueTask<bool> PingAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
EchoAsync(String, CancellationToken)
View Source
ValueTask<string> EchoAsync(string text, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | text |
System.Threading.CancellationToken | token |
SlaveOfAsync(String, Int32, CancellationToken)
View Source
ValueTask SlaveOfAsync(string hostname, int port, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | hostname |
System.Int32 | port |
System.Threading.CancellationToken | token |
SlaveOfNoOneAsync(CancellationToken)
View Source
ValueTask SlaveOfNoOneAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
ConfigGetAsync(String, CancellationToken)
View Source
ValueTask<byte[][]> ConfigGetAsync(string pattern, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | pattern |
System.Threading.CancellationToken | token |
ConfigSetAsync(String, Byte[], CancellationToken)
View Source
ValueTask ConfigSetAsync(string item, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | item |
System.Byte[] | value |
System.Threading.CancellationToken | token |
ConfigResetStatAsync(CancellationToken)
View Source
ValueTask ConfigResetStatAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
ConfigRewriteAsync(CancellationToken)
View Source
ValueTask ConfigRewriteAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
TimeAsync(CancellationToken)
View Source
ValueTask<byte[][]> TimeAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
DebugSegfaultAsync(CancellationToken)
View Source
ValueTask DebugSegfaultAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
DumpAsync(String, CancellationToken)
View Source
ValueTask<byte[]> DumpAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
RestoreAsync(String, Int64, Byte[], CancellationToken)
View Source
ValueTask<byte[]> RestoreAsync(string key, long expireMs, byte[] dumpValue, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int64 | expireMs |
System.Byte[] | dumpValue |
System.Threading.CancellationToken | token |
MigrateAsync(String, Int32, String, Int32, Int64, CancellationToken)
View Source
ValueTask MigrateAsync(string host, int port, string key, int destinationDb, long timeoutMs, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | host |
System.Int32 | port |
System.String | key |
System.Int32 | destinationDb |
System.Int64 | timeoutMs |
System.Threading.CancellationToken | token |
MoveAsync(String, Int32, CancellationToken)
View Source
ValueTask<bool> MoveAsync(string key, int db, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int32 | db |
System.Threading.CancellationToken | token |
ObjectIdleTimeAsync(String, CancellationToken)
View Source
ValueTask<long> ObjectIdleTimeAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
RoleAsync(CancellationToken)
View Source
ValueTask<RedisText> RoleAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.RedisText>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
RawCommandAsync(Object[], CancellationToken)
View Source
ValueTask<RedisData> RawCommandAsync(object[] cmdWithArgs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.RedisData>
Parameters
Type | Name |
---|---|
System.Object[] | cmdWithArgs |
System.Threading.CancellationToken | token |
RawCommandAsync(Object[])
View Source
ValueTask<RedisData> RawCommandAsync(params object[] cmdWithArgs)
Returns
ValueTask<ServiceStack.Redis.RedisData>
Parameters
Type | Name |
---|---|
System.Object[] | cmdWithArgs |
RawCommandAsync(Byte[][], CancellationToken)
View Source
ValueTask<RedisData> RawCommandAsync(byte[][] cmdWithBinaryArgs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.RedisData>
Parameters
Type | Name |
---|---|
System.Byte[][] | cmdWithBinaryArgs |
System.Threading.CancellationToken | token |
RawCommandAsync(Byte[][])
View Source
ValueTask<RedisData> RawCommandAsync(params byte[][] cmdWithBinaryArgs)
Returns
ValueTask<ServiceStack.Redis.RedisData>
Parameters
Type | Name |
---|---|
System.Byte[][] | cmdWithBinaryArgs |
ClientGetNameAsync(CancellationToken)
View Source
ValueTask<string> ClientGetNameAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
ClientSetNameAsync(String, CancellationToken)
View Source
ValueTask ClientSetNameAsync(string client, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | client |
System.Threading.CancellationToken | token |
ClientKillAsync(String, CancellationToken)
View Source
ValueTask ClientKillAsync(string host, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | host |
System.Threading.CancellationToken | token |
ClientKillAsync(String, String, String, String, CancellationToken)
View Source
ValueTask<long> ClientKillAsync(string addr = null, string id = null, string type = null, string skipMe = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | addr |
System.String | id |
System.String | type |
System.String | skipMe |
System.Threading.CancellationToken | token |
ClientListAsync(CancellationToken)
View Source
ValueTask<byte[]> ClientListAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
ClientPauseAsync(Int32, CancellationToken)
View Source
ValueTask ClientPauseAsync(int timeOutMs, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Int32 | timeOutMs |
System.Threading.CancellationToken | token |
KeysAsync(String, CancellationToken)
View Source
ValueTask<byte[][]> KeysAsync(string pattern, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | pattern |
System.Threading.CancellationToken | token |
TypeAsync(String, CancellationToken)
View Source
ValueTask<string> TypeAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
ExistsAsync(String, CancellationToken)
View Source
ValueTask<long> ExistsAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
StrLenAsync(String, CancellationToken)
View Source
ValueTask<long> StrLenAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
SetAsync(String, Byte[], Boolean, Int64, Int64, CancellationToken)
View Source
ValueTask<bool> SetAsync(string key, byte[] value, bool exists, long expirySeconds = 0L, long expiryMilliseconds = 0L, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.Byte[] | value |
System.Boolean | exists |
System.Int64 | expirySeconds |
System.Int64 | expiryMilliseconds |
System.Threading.CancellationToken | token |
SetAsync(String, Byte[], Int64, Int64, CancellationToken)
View Source
ValueTask SetAsync(string key, byte[] value, long expirySeconds = 0L, long expiryMilliseconds = 0L, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | key |
System.Byte[] | value |
System.Int64 | expirySeconds |
System.Int64 | expiryMilliseconds |
System.Threading.CancellationToken | token |
SetExAsync(String, Int32, Byte[], CancellationToken)
View Source
ValueTask SetExAsync(string key, int expireInSeconds, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | key |
System.Int32 | expireInSeconds |
System.Byte[] | value |
System.Threading.CancellationToken | token |
PersistAsync(String, CancellationToken)
View Source
ValueTask<bool> PersistAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
PSetExAsync(String, Int64, Byte[], CancellationToken)
View Source
ValueTask PSetExAsync(string key, long expireInMs, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | key |
System.Int64 | expireInMs |
System.Byte[] | value |
System.Threading.CancellationToken | token |
SetNXAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> SetNXAsync(string key, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Byte[] | value |
System.Threading.CancellationToken | token |
MSetAsync(Byte[][], Byte[][], CancellationToken)
View Source
ValueTask MSetAsync(byte[][] keys, byte[][] values, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Byte[][] | keys |
System.Byte[][] | values |
System.Threading.CancellationToken | token |
MSetAsync(String[], Byte[][], CancellationToken)
View Source
ValueTask MSetAsync(string[] keys, byte[][] values, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String[] | keys |
System.Byte[][] | values |
System.Threading.CancellationToken | token |
MSetNxAsync(Byte[][], Byte[][], CancellationToken)
View Source
ValueTask<bool> MSetNxAsync(byte[][] keys, byte[][] values, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.Byte[][] | keys |
System.Byte[][] | values |
System.Threading.CancellationToken | token |
MSetNxAsync(String[], Byte[][], CancellationToken)
View Source
ValueTask<bool> MSetNxAsync(string[] keys, byte[][] values, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String[] | keys |
System.Byte[][] | values |
System.Threading.CancellationToken | token |
GetAsync(String, CancellationToken)
View Source
ValueTask<byte[]> GetAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
GetSetAsync(String, Byte[], CancellationToken)
View Source
ValueTask<byte[]> GetSetAsync(string key, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | key |
System.Byte[] | value |
System.Threading.CancellationToken | token |
MGetAsync(Byte[][], CancellationToken)
View Source
ValueTask<byte[][]> MGetAsync(byte[][] keysAndArgs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.Byte[][] | keysAndArgs |
System.Threading.CancellationToken | token |
MGetAsync(Byte[][])
View Source
ValueTask<byte[][]> MGetAsync(params byte[][] keysAndArgs)
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.Byte[][] | keysAndArgs |
MGetAsync(String[], CancellationToken)
View Source
ValueTask<byte[][]> MGetAsync(string[] keys, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | keys |
System.Threading.CancellationToken | token |
MGetAsync(String[])
View Source
ValueTask<byte[][]> MGetAsync(params string[] keys)
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | keys |
DelAsync(String, CancellationToken)
View Source
ValueTask<long> DelAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
DelAsync(String[], CancellationToken)
View Source
ValueTask<long> DelAsync(string[] keys, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String[] | keys |
System.Threading.CancellationToken | token |
DelAsync(String[])
View Source
ValueTask<long> DelAsync(params string[] keys)
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String[] | keys |
IncrAsync(String, CancellationToken)
View Source
ValueTask<long> IncrAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
IncrByAsync(String, Int64, CancellationToken)
View Source
ValueTask<long> IncrByAsync(string key, long incrBy, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int64 | incrBy |
System.Threading.CancellationToken | token |
IncrByFloatAsync(String, Double, CancellationToken)
View Source
ValueTask<double> IncrByFloatAsync(string key, double incrBy, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
System.String | key |
System.Double | incrBy |
System.Threading.CancellationToken | token |
DecrAsync(String, CancellationToken)
View Source
ValueTask<long> DecrAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
DecrByAsync(String, Int64, CancellationToken)
View Source
ValueTask<long> DecrByAsync(string key, long decrBy, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int64 | decrBy |
System.Threading.CancellationToken | token |
AppendAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> AppendAsync(string key, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Byte[] | value |
System.Threading.CancellationToken | token |
GetRangeAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<byte[]> GetRangeAsync(string key, int fromIndex, int toIndex, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int32 | fromIndex |
System.Int32 | toIndex |
System.Threading.CancellationToken | token |
SetRangeAsync(String, Int32, Byte[], CancellationToken)
View Source
ValueTask<long> SetRangeAsync(string key, int offset, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int32 | offset |
System.Byte[] | value |
System.Threading.CancellationToken | token |
GetBitAsync(String, Int32, CancellationToken)
View Source
ValueTask<long> GetBitAsync(string key, int offset, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int32 | offset |
System.Threading.CancellationToken | token |
SetBitAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<long> SetBitAsync(string key, int offset, int value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int32 | offset |
System.Int32 | value |
System.Threading.CancellationToken | token |
BitCountAsync(String, CancellationToken)
View Source
ValueTask<long> BitCountAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
RandomKeyAsync(CancellationToken)
View Source
ValueTask<string> RandomKeyAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
RenameAsync(String, String, CancellationToken)
View Source
ValueTask RenameAsync(string oldKeyName, string newKeyName, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | oldKeyName |
System.String | newKeyName |
System.Threading.CancellationToken | token |
RenameNxAsync(String, String, CancellationToken)
View Source
ValueTask<bool> RenameNxAsync(string oldKeyName, string newKeyName, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | oldKeyName |
System.String | newKeyName |
System.Threading.CancellationToken | token |
ExpireAsync(String, Int32, CancellationToken)
View Source
ValueTask<bool> ExpireAsync(string key, int seconds, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int32 | seconds |
System.Threading.CancellationToken | token |
PExpireAsync(String, Int64, CancellationToken)
View Source
ValueTask<bool> PExpireAsync(string key, long ttlMs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int64 | ttlMs |
System.Threading.CancellationToken | token |
ExpireAtAsync(String, Int64, CancellationToken)
View Source
ValueTask<bool> ExpireAtAsync(string key, long unixTime, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int64 | unixTime |
System.Threading.CancellationToken | token |
PExpireAtAsync(String, Int64, CancellationToken)
View Source
ValueTask<bool> PExpireAtAsync(string key, long unixTimeMs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int64 | unixTimeMs |
System.Threading.CancellationToken | token |
TtlAsync(String, CancellationToken)
View Source
ValueTask<long> TtlAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
PTtlAsync(String, CancellationToken)
View Source
ValueTask<long> PTtlAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
ScanAsync(UInt64, Int32, String, CancellationToken)
View Source
ValueTask<ScanResult> ScanAsync(ulong cursor, int count = 10, string match = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.ScanResult>
Parameters
Type | Name |
---|---|
System.UInt64 | cursor |
System.Int32 | count |
System.String | match |
System.Threading.CancellationToken | token |
SScanAsync(String, UInt64, Int32, String, CancellationToken)
View Source
ValueTask<ScanResult> SScanAsync(string setId, ulong cursor, int count = 10, string match = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.ScanResult>
Parameters
Type | Name |
---|---|
System.String | setId |
System.UInt64 | cursor |
System.Int32 | count |
System.String | match |
System.Threading.CancellationToken | token |
ZScanAsync(String, UInt64, Int32, String, CancellationToken)
View Source
ValueTask<ScanResult> ZScanAsync(string setId, ulong cursor, int count = 10, string match = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.ScanResult>
Parameters
Type | Name |
---|---|
System.String | setId |
System.UInt64 | cursor |
System.Int32 | count |
System.String | match |
System.Threading.CancellationToken | token |
HScanAsync(String, UInt64, Int32, String, CancellationToken)
View Source
ValueTask<ScanResult> HScanAsync(string hashId, ulong cursor, int count = 10, string match = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.ScanResult>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.UInt64 | cursor |
System.Int32 | count |
System.String | match |
System.Threading.CancellationToken | token |
PfAddAsync(String, Byte[][], CancellationToken)
View Source
ValueTask<bool> PfAddAsync(string key, byte[][] elements, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.Byte[][] | elements |
System.Threading.CancellationToken | token |
PfAddAsync(String, Byte[][])
View Source
ValueTask<bool> PfAddAsync(string key, params byte[][] elements)
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.Byte[][] | elements |
PfCountAsync(String, CancellationToken)
View Source
ValueTask<long> PfCountAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
PfMergeAsync(String, String[], CancellationToken)
View Source
ValueTask PfMergeAsync(string toKeyId, string[] fromKeys, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | toKeyId |
System.String[] | fromKeys |
System.Threading.CancellationToken | token |
PfMergeAsync(String, String[])
View Source
ValueTask PfMergeAsync(string toKeyId, params string[] fromKeys)
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | toKeyId |
System.String[] | fromKeys |
SortAsync(String, SortOptions, CancellationToken)
View Source
ValueTask<byte[][]> SortAsync(string listOrSetId, SortOptions sortOptions, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | listOrSetId |
ServiceStack.Redis.SortOptions | sortOptions |
System.Threading.CancellationToken | token |
LRangeAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<byte[][]> LRangeAsync(string listId, int startingFrom, int endingAt, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Int32 | startingFrom |
System.Int32 | endingAt |
System.Threading.CancellationToken | token |
RPushAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> RPushAsync(string listId, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Byte[] | value |
System.Threading.CancellationToken | token |
RPushXAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> RPushXAsync(string listId, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Byte[] | value |
System.Threading.CancellationToken | token |
LPushAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> LPushAsync(string listId, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Byte[] | value |
System.Threading.CancellationToken | token |
LPushXAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> LPushXAsync(string listId, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Byte[] | value |
System.Threading.CancellationToken | token |
LTrimAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask LTrimAsync(string listId, int keepStartingFrom, int keepEndingAt, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | listId |
System.Int32 | keepStartingFrom |
System.Int32 | keepEndingAt |
System.Threading.CancellationToken | token |
LRemAsync(String, Int32, Byte[], CancellationToken)
View Source
ValueTask<long> LRemAsync(string listId, int removeNoOfMatches, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Int32 | removeNoOfMatches |
System.Byte[] | value |
System.Threading.CancellationToken | token |
LLenAsync(String, CancellationToken)
View Source
ValueTask<long> LLenAsync(string listId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Threading.CancellationToken | token |
LIndexAsync(String, Int32, CancellationToken)
View Source
ValueTask<byte[]> LIndexAsync(string listId, int listIndex, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Int32 | listIndex |
System.Threading.CancellationToken | token |
LInsertAsync(String, Boolean, Byte[], Byte[], CancellationToken)
View Source
ValueTask LInsertAsync(string listId, bool insertBefore, byte[] pivot, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | listId |
System.Boolean | insertBefore |
System.Byte[] | pivot |
System.Byte[] | value |
System.Threading.CancellationToken | token |
LSetAsync(String, Int32, Byte[], CancellationToken)
View Source
ValueTask LSetAsync(string listId, int listIndex, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | listId |
System.Int32 | listIndex |
System.Byte[] | value |
System.Threading.CancellationToken | token |
LPopAsync(String, CancellationToken)
View Source
ValueTask<byte[]> LPopAsync(string listId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Threading.CancellationToken | token |
RPopAsync(String, CancellationToken)
View Source
ValueTask<byte[]> RPopAsync(string listId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Threading.CancellationToken | token |
BLPopAsync(String, Int32, CancellationToken)
View Source
ValueTask<byte[][]> BLPopAsync(string listId, int timeOutSecs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Int32 | timeOutSecs |
System.Threading.CancellationToken | token |
BLPopAsync(String[], Int32, CancellationToken)
View Source
ValueTask<byte[][]> BLPopAsync(string[] listIds, int timeOutSecs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | listIds |
System.Int32 | timeOutSecs |
System.Threading.CancellationToken | token |
BLPopValueAsync(String, Int32, CancellationToken)
View Source
ValueTask<byte[]> BLPopValueAsync(string listId, int timeOutSecs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Int32 | timeOutSecs |
System.Threading.CancellationToken | token |
BLPopValueAsync(String[], Int32, CancellationToken)
View Source
ValueTask<byte[][]> BLPopValueAsync(string[] listIds, int timeOutSecs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | listIds |
System.Int32 | timeOutSecs |
System.Threading.CancellationToken | token |
BRPopAsync(String, Int32, CancellationToken)
View Source
ValueTask<byte[][]> BRPopAsync(string listId, int timeOutSecs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Int32 | timeOutSecs |
System.Threading.CancellationToken | token |
BRPopAsync(String[], Int32, CancellationToken)
View Source
ValueTask<byte[][]> BRPopAsync(string[] listIds, int timeOutSecs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | listIds |
System.Int32 | timeOutSecs |
System.Threading.CancellationToken | token |
RPopLPushAsync(String, String, CancellationToken)
View Source
ValueTask<byte[]> RPopLPushAsync(string fromListId, string toListId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | fromListId |
System.String | toListId |
System.Threading.CancellationToken | token |
BRPopValueAsync(String, Int32, CancellationToken)
View Source
ValueTask<byte[]> BRPopValueAsync(string listId, int timeOutSecs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | listId |
System.Int32 | timeOutSecs |
System.Threading.CancellationToken | token |
BRPopValueAsync(String[], Int32, CancellationToken)
View Source
ValueTask<byte[][]> BRPopValueAsync(string[] listIds, int timeOutSecs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | listIds |
System.Int32 | timeOutSecs |
System.Threading.CancellationToken | token |
BRPopLPushAsync(String, String, Int32, CancellationToken)
View Source
ValueTask<byte[]> BRPopLPushAsync(string fromListId, string toListId, int timeOutSecs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | fromListId |
System.String | toListId |
System.Int32 | timeOutSecs |
System.Threading.CancellationToken | token |
SMembersAsync(String, CancellationToken)
View Source
ValueTask<byte[][]> SMembersAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
SAddAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> SAddAsync(string setId, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Byte[] | value |
System.Threading.CancellationToken | token |
SAddAsync(String, Byte[][], CancellationToken)
View Source
ValueTask<long> SAddAsync(string setId, byte[][] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Byte[][] | value |
System.Threading.CancellationToken | token |
SRemAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> SRemAsync(string setId, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Byte[] | value |
System.Threading.CancellationToken | token |
SPopAsync(String, CancellationToken)
View Source
ValueTask<byte[]> SPopAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
SPopAsync(String, Int32, CancellationToken)
View Source
ValueTask<byte[][]> SPopAsync(string setId, int count, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int32 | count |
System.Threading.CancellationToken | token |
SMoveAsync(String, String, Byte[], CancellationToken)
View Source
ValueTask SMoveAsync(string fromSetId, string toSetId, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | fromSetId |
System.String | toSetId |
System.Byte[] | value |
System.Threading.CancellationToken | token |
SCardAsync(String, CancellationToken)
View Source
ValueTask<long> SCardAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
SIsMemberAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> SIsMemberAsync(string setId, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Byte[] | value |
System.Threading.CancellationToken | token |
SInterAsync(String[], CancellationToken)
View Source
ValueTask<byte[][]> SInterAsync(string[] setIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | setIds |
System.Threading.CancellationToken | token |
SInterAsync(String[])
View Source
ValueTask<byte[][]> SInterAsync(params string[] setIds)
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | setIds |
SInterStoreAsync(String, String[], CancellationToken)
View Source
ValueTask SInterStoreAsync(string intoSetId, string[] setIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
System.Threading.CancellationToken | token |
SInterStoreAsync(String, String[])
View Source
ValueTask SInterStoreAsync(string intoSetId, params string[] setIds)
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
SUnionAsync(String[], CancellationToken)
View Source
ValueTask<byte[][]> SUnionAsync(string[] setIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | setIds |
System.Threading.CancellationToken | token |
SUnionAsync(String[])
View Source
ValueTask<byte[][]> SUnionAsync(params string[] setIds)
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | setIds |
SUnionStoreAsync(String, String[], CancellationToken)
View Source
ValueTask SUnionStoreAsync(string intoSetId, string[] setIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
System.Threading.CancellationToken | token |
SUnionStoreAsync(String, String[])
View Source
ValueTask SUnionStoreAsync(string intoSetId, params string[] setIds)
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
SDiffAsync(String, String[], CancellationToken)
View Source
ValueTask<byte[][]> SDiffAsync(string fromSetId, string[] withSetIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | fromSetId |
System.String[] | withSetIds |
System.Threading.CancellationToken | token |
SDiffAsync(String, String[])
View Source
ValueTask<byte[][]> SDiffAsync(string fromSetId, params string[] withSetIds)
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | fromSetId |
System.String[] | withSetIds |
SDiffStoreAsync(String, String, String[], CancellationToken)
View Source
ValueTask SDiffStoreAsync(string intoSetId, string fromSetId, string[] withSetIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String | fromSetId |
System.String[] | withSetIds |
System.Threading.CancellationToken | token |
SDiffStoreAsync(String, String, String[])
View Source
ValueTask SDiffStoreAsync(string intoSetId, string fromSetId, params string[] withSetIds)
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String | fromSetId |
System.String[] | withSetIds |
SRandMemberAsync(String, CancellationToken)
View Source
ValueTask<byte[]> SRandMemberAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
ZAddAsync(String, Double, Byte[], CancellationToken)
View Source
ValueTask<long> ZAddAsync(string setId, double score, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | score |
System.Byte[] | value |
System.Threading.CancellationToken | token |
ZAddAsync(String, Int64, Byte[], CancellationToken)
View Source
ValueTask<long> ZAddAsync(string setId, long score, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | score |
System.Byte[] | value |
System.Threading.CancellationToken | token |
ZRemAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> ZRemAsync(string setId, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Byte[] | value |
System.Threading.CancellationToken | token |
ZRemAsync(String, Byte[][], CancellationToken)
View Source
ValueTask<long> ZRemAsync(string setId, byte[][] values, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Byte[][] | values |
System.Threading.CancellationToken | token |
ZIncrByAsync(String, Double, Byte[], CancellationToken)
View Source
ValueTask<double> ZIncrByAsync(string setId, double incrBy, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | incrBy |
System.Byte[] | value |
System.Threading.CancellationToken | token |
ZIncrByAsync(String, Int64, Byte[], CancellationToken)
View Source
ValueTask<double> ZIncrByAsync(string setId, long incrBy, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | incrBy |
System.Byte[] | value |
System.Threading.CancellationToken | token |
ZRankAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> ZRankAsync(string setId, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Byte[] | value |
System.Threading.CancellationToken | token |
ZRevRankAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> ZRevRankAsync(string setId, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Byte[] | value |
System.Threading.CancellationToken | token |
ZRangeAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<byte[][]> ZRangeAsync(string setId, int min, int max, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int32 | min |
System.Int32 | max |
System.Threading.CancellationToken | token |
ZRangeWithScoresAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<byte[][]> ZRangeWithScoresAsync(string setId, int min, int max, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int32 | min |
System.Int32 | max |
System.Threading.CancellationToken | token |
ZRevRangeAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<byte[][]> ZRevRangeAsync(string setId, int min, int max, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int32 | min |
System.Int32 | max |
System.Threading.CancellationToken | token |
ZRevRangeWithScoresAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<byte[][]> ZRevRangeWithScoresAsync(string setId, int min, int max, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int32 | min |
System.Int32 | max |
System.Threading.CancellationToken | token |
ZRangeByScoreAsync(String, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<byte[][]> ZRangeByScoreAsync(string setId, double min, double max, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | min |
System.Double | max |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
ZRangeByScoreAsync(String, Int64, Int64, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<byte[][]> ZRangeByScoreAsync(string setId, long min, long max, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | min |
System.Int64 | max |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
ZRangeByScoreWithScoresAsync(String, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<byte[][]> ZRangeByScoreWithScoresAsync(string setId, double min, double max, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | min |
System.Double | max |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
ZRangeByScoreWithScoresAsync(String, Int64, Int64, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<byte[][]> ZRangeByScoreWithScoresAsync(string setId, long min, long max, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | min |
System.Int64 | max |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
ZRevRangeByScoreAsync(String, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<byte[][]> ZRevRangeByScoreAsync(string setId, double min, double max, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | min |
System.Double | max |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
ZRevRangeByScoreAsync(String, Int64, Int64, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<byte[][]> ZRevRangeByScoreAsync(string setId, long min, long max, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | min |
System.Int64 | max |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
ZRevRangeByScoreWithScoresAsync(String, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<byte[][]> ZRevRangeByScoreWithScoresAsync(string setId, double min, double max, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | min |
System.Double | max |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
ZRevRangeByScoreWithScoresAsync(String, Int64, Int64, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<byte[][]> ZRevRangeByScoreWithScoresAsync(string setId, long min, long max, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | min |
System.Int64 | max |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
ZRemRangeByRankAsync(String, Int32, Int32, CancellationToken)
View Source
ValueTask<long> ZRemRangeByRankAsync(string setId, int min, int max, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int32 | min |
System.Int32 | max |
System.Threading.CancellationToken | token |
ZRemRangeByScoreAsync(String, Double, Double, CancellationToken)
View Source
ValueTask<long> ZRemRangeByScoreAsync(string setId, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | fromScore |
System.Double | toScore |
System.Threading.CancellationToken | token |
ZRemRangeByScoreAsync(String, Int64, Int64, CancellationToken)
View Source
ValueTask<long> ZRemRangeByScoreAsync(string setId, long fromScore, long toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Int64 | fromScore |
System.Int64 | toScore |
System.Threading.CancellationToken | token |
ZCardAsync(String, CancellationToken)
View Source
ValueTask<long> ZCardAsync(string setId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Threading.CancellationToken | token |
ZCountAsync(String, Double, Double, CancellationToken)
View Source
ValueTask<long> ZCountAsync(string setId, double min, double max, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Double | min |
System.Double | max |
System.Threading.CancellationToken | token |
ZScoreAsync(String, Byte[], CancellationToken)
View Source
ValueTask<double> ZScoreAsync(string setId, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
System.String | setId |
System.Byte[] | value |
System.Threading.CancellationToken | token |
ZUnionStoreAsync(String, String[], CancellationToken)
View Source
ValueTask<long> ZUnionStoreAsync(string intoSetId, string[] setIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
System.Threading.CancellationToken | token |
ZUnionStoreAsync(String, String[])
View Source
ValueTask<long> ZUnionStoreAsync(string intoSetId, params string[] setIds)
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
ZInterStoreAsync(String, String[], CancellationToken)
View Source
ValueTask<long> ZInterStoreAsync(string intoSetId, string[] setIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
System.Threading.CancellationToken | token |
ZInterStoreAsync(String, String[])
View Source
ValueTask<long> ZInterStoreAsync(string intoSetId, params string[] setIds)
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | intoSetId |
System.String[] | setIds |
ZRangeByLexAsync(String, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<byte[][]> ZRangeByLexAsync(string setId, string min, string max, int? skip = null, int? take = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | min |
System.String | max |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
ZLexCountAsync(String, String, String, CancellationToken)
View Source
ValueTask<long> ZLexCountAsync(string setId, string min, string max, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | min |
System.String | max |
System.Threading.CancellationToken | token |
ZRemRangeByLexAsync(String, String, String, CancellationToken)
View Source
ValueTask<long> ZRemRangeByLexAsync(string setId, string min, string max, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | setId |
System.String | min |
System.String | max |
System.Threading.CancellationToken | token |
HSetAsync(String, Byte[], Byte[], CancellationToken)
View Source
ValueTask<long> HSetAsync(string hashId, byte[] key, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Byte[] | key |
System.Byte[] | value |
System.Threading.CancellationToken | token |
HMSetAsync(String, Byte[][], Byte[][], CancellationToken)
View Source
ValueTask HMSetAsync(string hashId, byte[][] keys, byte[][] values, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Byte[][] | keys |
System.Byte[][] | values |
System.Threading.CancellationToken | token |
HSetNXAsync(String, Byte[], Byte[], CancellationToken)
View Source
ValueTask<long> HSetNXAsync(string hashId, byte[] key, byte[] value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Byte[] | key |
System.Byte[] | value |
System.Threading.CancellationToken | token |
HIncrbyAsync(String, Byte[], Int32, CancellationToken)
View Source
ValueTask<long> HIncrbyAsync(string hashId, byte[] key, int incrementBy, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Byte[] | key |
System.Int32 | incrementBy |
System.Threading.CancellationToken | token |
HIncrbyFloatAsync(String, Byte[], Double, CancellationToken)
View Source
ValueTask<double> HIncrbyFloatAsync(string hashId, byte[] key, double incrementBy, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Byte[] | key |
System.Double | incrementBy |
System.Threading.CancellationToken | token |
HGetAsync(String, Byte[], CancellationToken)
View Source
ValueTask<byte[]> HGetAsync(string hashId, byte[] key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Byte[] | key |
System.Threading.CancellationToken | token |
HMGetAsync(String, Byte[][], CancellationToken)
View Source
ValueTask<byte[][]> HMGetAsync(string hashId, byte[][] keysAndArgs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Byte[][] | keysAndArgs |
System.Threading.CancellationToken | token |
HMGetAsync(String, Byte[][])
View Source
ValueTask<byte[][]> HMGetAsync(string hashId, params byte[][] keysAndArgs)
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Byte[][] | keysAndArgs |
HDelAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> HDelAsync(string hashId, byte[] key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Byte[] | key |
System.Threading.CancellationToken | token |
HExistsAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> HExistsAsync(string hashId, byte[] key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Byte[] | key |
System.Threading.CancellationToken | token |
HLenAsync(String, CancellationToken)
View Source
ValueTask<long> HLenAsync(string hashId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Threading.CancellationToken | token |
HKeysAsync(String, CancellationToken)
View Source
ValueTask<byte[][]> HKeysAsync(string hashId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Threading.CancellationToken | token |
HValsAsync(String, CancellationToken)
View Source
ValueTask<byte[][]> HValsAsync(string hashId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Threading.CancellationToken | token |
HGetAllAsync(String, CancellationToken)
View Source
ValueTask<byte[][]> HGetAllAsync(string hashId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | hashId |
System.Threading.CancellationToken | token |
GeoAddAsync(String, Double, Double, String, CancellationToken)
View Source
ValueTask<long> GeoAddAsync(string key, double longitude, double latitude, string member, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Double | longitude |
System.Double | latitude |
System.String | member |
System.Threading.CancellationToken | token |
GeoAddAsync(String, RedisGeo[], CancellationToken)
View Source
ValueTask<long> GeoAddAsync(string key, RedisGeo[] geoPoints, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
ServiceStack.Redis.RedisGeo[] | geoPoints |
System.Threading.CancellationToken | token |
GeoAddAsync(String, RedisGeo[])
View Source
ValueTask<long> GeoAddAsync(string key, params RedisGeo[] geoPoints)
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
ServiceStack.Redis.RedisGeo[] | geoPoints |
GeoDistAsync(String, String, String, String, CancellationToken)
View Source
ValueTask<double> GeoDistAsync(string key, string fromMember, string toMember, string unit = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
System.String | key |
System.String | fromMember |
System.String | toMember |
System.String | unit |
System.Threading.CancellationToken | token |
GeoHashAsync(String, String[], CancellationToken)
View Source
ValueTask<string[]> GeoHashAsync(string key, string[] members, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String[]>
Parameters
Type | Name |
---|---|
System.String | key |
System.String[] | members |
System.Threading.CancellationToken | token |
GeoHashAsync(String, String[])
View Source
ValueTask<string[]> GeoHashAsync(string key, params string[] members)
Returns
ValueTask<System.String[]>
Parameters
Type | Name |
---|---|
System.String | key |
System.String[] | members |
GeoPosAsync(String, String[], CancellationToken)
View Source
ValueTask<List<RedisGeo>> GeoPosAsync(string key, string[] members, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<ServiceStack.Redis.RedisGeo>>
Parameters
Type | Name |
---|---|
System.String | key |
System.String[] | members |
System.Threading.CancellationToken | token |
GeoPosAsync(String, String[])
View Source
ValueTask<List<RedisGeo>> GeoPosAsync(string key, params string[] members)
Returns
ValueTask<System.Collections.Generic.List<ServiceStack.Redis.RedisGeo>>
Parameters
Type | Name |
---|---|
System.String | key |
System.String[] | members |
GeoRadiusAsync(String, Double, Double, Double, String, Boolean, Boolean, Boolean, Nullable<Int32>, Nullable<Boolean>, CancellationToken)
View Source
ValueTask<List<RedisGeoResult>> GeoRadiusAsync(string key, double longitude, double latitude, double radius, string unit, bool withCoords = false, bool withDist = false, bool withHash = false, int? count = null, bool? asc = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<ServiceStack.Redis.RedisGeoResult>>
Parameters
Type | Name |
---|---|
System.String | key |
System.Double | longitude |
System.Double | latitude |
System.Double | radius |
System.String | unit |
System.Boolean | withCoords |
System.Boolean | withDist |
System.Boolean | withHash |
System.Nullable<System.Int32> | count |
System.Nullable<System.Boolean> | asc |
System.Threading.CancellationToken | token |
GeoRadiusByMemberAsync(String, String, Double, String, Boolean, Boolean, Boolean, Nullable<Int32>, Nullable<Boolean>, CancellationToken)
View Source
ValueTask<List<RedisGeoResult>> GeoRadiusByMemberAsync(string key, string member, double radius, string unit, bool withCoords = false, bool withDist = false, bool withHash = false, int? count = null, bool? asc = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<ServiceStack.Redis.RedisGeoResult>>
Parameters
Type | Name |
---|---|
System.String | key |
System.String | member |
System.Double | radius |
System.String | unit |
System.Boolean | withCoords |
System.Boolean | withDist |
System.Boolean | withHash |
System.Nullable<System.Int32> | count |
System.Nullable<System.Boolean> | asc |
System.Threading.CancellationToken | token |
WatchAsync(String[], CancellationToken)
View Source
ValueTask WatchAsync(string[] keys, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String[] | keys |
System.Threading.CancellationToken | token |
WatchAsync(String[])
View Source
ValueTask WatchAsync(params string[] keys)
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String[] | keys |
UnWatchAsync(CancellationToken)
View Source
ValueTask UnWatchAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
PublishAsync(String, Byte[], CancellationToken)
View Source
ValueTask<long> PublishAsync(string toChannel, byte[] message, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | toChannel |
System.Byte[] | message |
System.Threading.CancellationToken | token |
SubscribeAsync(String[], CancellationToken)
View Source
ValueTask<byte[][]> SubscribeAsync(string[] toChannels, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | toChannels |
System.Threading.CancellationToken | token |
SubscribeAsync(String[])
View Source
ValueTask<byte[][]> SubscribeAsync(params string[] toChannels)
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | toChannels |
UnSubscribeAsync(String[], CancellationToken)
View Source
ValueTask<byte[][]> UnSubscribeAsync(string[] toChannels, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | toChannels |
System.Threading.CancellationToken | token |
UnSubscribeAsync(String[])
View Source
ValueTask<byte[][]> UnSubscribeAsync(params string[] toChannels)
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | toChannels |
PSubscribeAsync(String[], CancellationToken)
View Source
ValueTask<byte[][]> PSubscribeAsync(string[] toChannelsMatchingPatterns, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | toChannelsMatchingPatterns |
System.Threading.CancellationToken | token |
PSubscribeAsync(String[])
View Source
ValueTask<byte[][]> PSubscribeAsync(params string[] toChannelsMatchingPatterns)
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | toChannelsMatchingPatterns |
PUnSubscribeAsync(String[], CancellationToken)
View Source
ValueTask<byte[][]> PUnSubscribeAsync(string[] toChannelsMatchingPatterns, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | toChannelsMatchingPatterns |
System.Threading.CancellationToken | token |
PUnSubscribeAsync(String[])
View Source
ValueTask<byte[][]> PUnSubscribeAsync(params string[] toChannelsMatchingPatterns)
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String[] | toChannelsMatchingPatterns |
ReceiveMessagesAsync(CancellationToken)
View Source
ValueTask<byte[][]> ReceiveMessagesAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
CreateSubscriptionAsync(CancellationToken)
View Source
ValueTask<IRedisSubscriptionAsync> CreateSubscriptionAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.IRedisSubscriptionAsync>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
EvalCommandAsync(String, Int32, Byte[][], CancellationToken)
View Source
ValueTask<RedisData> EvalCommandAsync(string luaBody, int numberKeysInArgs, byte[][] keys, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.RedisData>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.Int32 | numberKeysInArgs |
System.Byte[][] | keys |
System.Threading.CancellationToken | token |
EvalCommandAsync(String, Int32, Byte[][])
View Source
ValueTask<RedisData> EvalCommandAsync(string luaBody, int numberKeysInArgs, params byte[][] keys)
Returns
ValueTask<ServiceStack.Redis.RedisData>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.Int32 | numberKeysInArgs |
System.Byte[][] | keys |
EvalShaCommandAsync(String, Int32, Byte[][], CancellationToken)
View Source
ValueTask<RedisData> EvalShaCommandAsync(string sha1, int numberKeysInArgs, byte[][] keys, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.RedisData>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.Int32 | numberKeysInArgs |
System.Byte[][] | keys |
System.Threading.CancellationToken | token |
EvalShaCommandAsync(String, Int32, Byte[][])
View Source
ValueTask<RedisData> EvalShaCommandAsync(string sha1, int numberKeysInArgs, params byte[][] keys)
Returns
ValueTask<ServiceStack.Redis.RedisData>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.Int32 | numberKeysInArgs |
System.Byte[][] | keys |
EvalAsync(String, Int32, Byte[][], CancellationToken)
View Source
ValueTask<byte[][]> EvalAsync(string luaBody, int numberOfKeys, byte[][] keysAndArgs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.Int32 | numberOfKeys |
System.Byte[][] | keysAndArgs |
System.Threading.CancellationToken | token |
EvalAsync(String, Int32, Byte[][])
View Source
ValueTask<byte[][]> EvalAsync(string luaBody, int numberOfKeys, params byte[][] keysAndArgs)
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.Int32 | numberOfKeys |
System.Byte[][] | keysAndArgs |
EvalShaAsync(String, Int32, Byte[][], CancellationToken)
View Source
ValueTask<byte[][]> EvalShaAsync(string sha1, int numberOfKeys, byte[][] keysAndArgs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.Int32 | numberOfKeys |
System.Byte[][] | keysAndArgs |
System.Threading.CancellationToken | token |
EvalShaAsync(String, Int32, Byte[][])
View Source
ValueTask<byte[][]> EvalShaAsync(string sha1, int numberOfKeys, params byte[][] keysAndArgs)
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.Int32 | numberOfKeys |
System.Byte[][] | keysAndArgs |
EvalIntAsync(String, Int32, Byte[][], CancellationToken)
View Source
ValueTask<long> EvalIntAsync(string luaBody, int numberOfKeys, byte[][] keysAndArgs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.Int32 | numberOfKeys |
System.Byte[][] | keysAndArgs |
System.Threading.CancellationToken | token |
EvalIntAsync(String, Int32, Byte[][])
View Source
ValueTask<long> EvalIntAsync(string luaBody, int numberOfKeys, params byte[][] keysAndArgs)
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.Int32 | numberOfKeys |
System.Byte[][] | keysAndArgs |
EvalShaIntAsync(String, Int32, Byte[][], CancellationToken)
View Source
ValueTask<long> EvalShaIntAsync(string sha1, int numberOfKeys, byte[][] keysAndArgs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.Int32 | numberOfKeys |
System.Byte[][] | keysAndArgs |
System.Threading.CancellationToken | token |
EvalShaIntAsync(String, Int32, Byte[][])
View Source
ValueTask<long> EvalShaIntAsync(string sha1, int numberOfKeys, params byte[][] keysAndArgs)
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.Int32 | numberOfKeys |
System.Byte[][] | keysAndArgs |
EvalStrAsync(String, Int32, Byte[][], CancellationToken)
View Source
ValueTask<string> EvalStrAsync(string luaBody, int numberOfKeys, byte[][] keysAndArgs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.Int32 | numberOfKeys |
System.Byte[][] | keysAndArgs |
System.Threading.CancellationToken | token |
EvalStrAsync(String, Int32, Byte[][])
View Source
ValueTask<string> EvalStrAsync(string luaBody, int numberOfKeys, params byte[][] keysAndArgs)
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.Int32 | numberOfKeys |
System.Byte[][] | keysAndArgs |
EvalShaStrAsync(String, Int32, Byte[][], CancellationToken)
View Source
ValueTask<string> EvalShaStrAsync(string sha1, int numberOfKeys, byte[][] keysAndArgs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.Int32 | numberOfKeys |
System.Byte[][] | keysAndArgs |
System.Threading.CancellationToken | token |
EvalShaStrAsync(String, Int32, Byte[][])
View Source
ValueTask<string> EvalShaStrAsync(string sha1, int numberOfKeys, params byte[][] keysAndArgs)
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | sha1 |
System.Int32 | numberOfKeys |
System.Byte[][] | keysAndArgs |
CalculateSha1Async(String, CancellationToken)
View Source
ValueTask<string> CalculateSha1Async(string luaBody, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.String | luaBody |
System.Threading.CancellationToken | token |
ScriptExistsAsync(Byte[][], CancellationToken)
View Source
ValueTask<byte[][]> ScriptExistsAsync(byte[][] sha1Refs, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.Byte[][] | sha1Refs |
System.Threading.CancellationToken | token |
ScriptExistsAsync(Byte[][])
View Source
ValueTask<byte[][]> ScriptExistsAsync(params byte[][] sha1Refs)
Returns
ValueTask<System.Byte[][]>
Parameters
Type | Name |
---|---|
System.Byte[][] | sha1Refs |
ScriptFlushAsync(CancellationToken)
View Source
ValueTask ScriptFlushAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
ScriptKillAsync(CancellationToken)
View Source
ValueTask ScriptKillAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
ScriptLoadAsync(String, CancellationToken)
View Source
ValueTask<byte[]> ScriptLoadAsync(string body, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Byte[]>
Parameters
Type | Name |
---|---|
System.String | body |
System.Threading.CancellationToken | token |
SlowlogResetAsync(CancellationToken)
View Source
ValueTask SlowlogResetAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
SlowlogGetAsync(Nullable<Int32>, CancellationToken)
View Source
ValueTask<object[]> SlowlogGetAsync(int? top = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Object[]>
Parameters
Type | Name |
---|---|
System.Nullable<System.Int32> | top |
System.Threading.CancellationToken | token |