Skip to main content

IRedisSortedSetAsync

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

Methods​

CountAsync(CancellationToken)​

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

ValueTask<System.Int32>

Parameters​
TypeName
System.Threading.CancellationTokentoken

GetAllAsync(CancellationToken)​

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

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

Parameters​
TypeName
System.Threading.CancellationTokentoken

GetRangeAsync(Int32, Int32, CancellationToken)​

View Source​
Declaration
ValueTask<List<string>> GetRangeAsync(int startingRank, int endingRank, CancellationToken token = default(CancellationToken))
Returns​

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

Parameters​
TypeName
System.Int32startingRank
System.Int32endingRank
System.Threading.CancellationTokentoken

GetRangeByScoreAsync(String, String, CancellationToken)​

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

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

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

GetRangeByScoreAsync(String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)​

View Source​
Declaration
ValueTask<List<string>> GetRangeByScoreAsync(string fromStringScore, string toStringScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns​

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

Parameters​
TypeName
System.StringfromStringScore
System.StringtoStringScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

GetRangeByScoreAsync(Double, Double, CancellationToken)​

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

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

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

GetRangeByScoreAsync(Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)​

View Source​
Declaration
ValueTask<List<string>> GetRangeByScoreAsync(double fromScore, double toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns​

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

Parameters​
TypeName
System.DoublefromScore
System.DoubletoScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

RemoveRangeAsync(Int32, Int32, CancellationToken)​

View Source​
Declaration
ValueTask RemoveRangeAsync(int fromRank, int toRank, CancellationToken token = default(CancellationToken))
Returns​

ValueTask

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

RemoveRangeByScoreAsync(Double, Double, CancellationToken)​

View Source​
Declaration
ValueTask RemoveRangeByScoreAsync(double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns​

ValueTask

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

StoreFromIntersectAsync(IRedisSortedSetAsync[], CancellationToken)​

View Source​
Declaration
ValueTask StoreFromIntersectAsync(IRedisSortedSetAsync[] ofSets, CancellationToken token = default(CancellationToken))
Returns​

ValueTask

Parameters​
TypeName
ServiceStack.Redis.IRedisSortedSetAsync[]ofSets
System.Threading.CancellationTokentoken

StoreFromIntersectAsync(IRedisSortedSetAsync[])​

View Source​
Declaration
ValueTask StoreFromIntersectAsync(params IRedisSortedSetAsync[] ofSets)
Returns​

ValueTask

Parameters​
TypeName
ServiceStack.Redis.IRedisSortedSetAsync[]ofSets

StoreFromUnionAsync(IRedisSortedSetAsync[], CancellationToken)​

View Source​
Declaration
ValueTask StoreFromUnionAsync(IRedisSortedSetAsync[] ofSets, CancellationToken token = default(CancellationToken))
Returns​

ValueTask

Parameters​
TypeName
ServiceStack.Redis.IRedisSortedSetAsync[]ofSets
System.Threading.CancellationTokentoken

StoreFromUnionAsync(IRedisSortedSetAsync[])​

View Source​
Declaration
ValueTask StoreFromUnionAsync(params IRedisSortedSetAsync[] ofSets)
Returns​

ValueTask

Parameters​
TypeName
ServiceStack.Redis.IRedisSortedSetAsync[]ofSets

GetItemIndexAsync(String, CancellationToken)​

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

ValueTask<System.Int64>

Parameters​
TypeName
System.Stringvalue
System.Threading.CancellationTokentoken

GetItemScoreAsync(String, CancellationToken)​

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

ValueTask<System.Double>

Parameters​
TypeName
System.Stringvalue
System.Threading.CancellationTokentoken

IncrementItemScoreAsync(String, Double, CancellationToken)​

View Source​
Declaration
ValueTask IncrementItemScoreAsync(string value, double incrementByScore, CancellationToken token = default(CancellationToken))
Returns​

ValueTask

Parameters​
TypeName
System.Stringvalue
System.DoubleincrementByScore
System.Threading.CancellationTokentoken

PopItemWithHighestScoreAsync(CancellationToken)​

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

ValueTask<System.String>

Parameters​
TypeName
System.Threading.CancellationTokentoken

PopItemWithLowestScoreAsync(CancellationToken)​

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

ValueTask<System.String>

Parameters​
TypeName
System.Threading.CancellationTokentoken

ClearAsync(CancellationToken)​

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

ValueTask

Parameters​
TypeName
System.Threading.CancellationTokentoken

ContainsAsync(String, CancellationToken)​

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

ValueTask<System.Boolean>

Parameters​
TypeName
System.Stringitem
System.Threading.CancellationTokentoken

AddAsync(String, CancellationToken)​

View Source​
Declaration
ValueTask AddAsync(string item, CancellationToken token = default(CancellationToken))
Returns​

ValueTask

Parameters​
TypeName
System.Stringitem
System.Threading.CancellationTokentoken

RemoveAsync(String, CancellationToken)​

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

ValueTask<System.Boolean>

Parameters​
TypeName
System.Stringitem
System.Threading.CancellationTokentoken