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
Type | Name |
---|---|
System.Threading.CancellationToken | token |
GetAllAsync(CancellationToken)
View Source
Declaration
ValueTask<List<string>> GetAllAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
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
Type | Name |
---|---|
System.Int32 | startingRank |
System.Int32 | endingRank |
System.Threading.CancellationToken | token |
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
Type | Name |
---|---|
System.String | fromStringScore |
System.String | toStringScore |
System.Threading.CancellationToken | token |
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
Type | Name |
---|---|
System.String | fromStringScore |
System.String | toStringScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
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
Type | Name |
---|---|
System.Double | fromScore |
System.Double | toScore |
System.Threading.CancellationToken | token |
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
Type | Name |
---|---|
System.Double | fromScore |
System.Double | toScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
RemoveRangeAsync(Int32, Int32, CancellationToken)
View Source
Declaration
ValueTask RemoveRangeAsync(int fromRank, int toRank, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Int32 | fromRank |
System.Int32 | toRank |
System.Threading.CancellationToken | token |
RemoveRangeByScoreAsync(Double, Double, CancellationToken)
View Source
Declaration
ValueTask RemoveRangeByScoreAsync(double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Double | fromScore |
System.Double | toScore |
System.Threading.CancellationToken | token |
StoreFromIntersectAsync(IRedisSortedSetAsync[], CancellationToken)
View Source
Declaration
ValueTask StoreFromIntersectAsync(IRedisSortedSetAsync[] ofSets, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisSortedSetAsync[] | ofSets |
System.Threading.CancellationToken | token |
StoreFromIntersectAsync(IRedisSortedSetAsync[])
View Source
Declaration
ValueTask StoreFromIntersectAsync(params IRedisSortedSetAsync[] ofSets)
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisSortedSetAsync[] | ofSets |
StoreFromUnionAsync(IRedisSortedSetAsync[], CancellationToken)
View Source
Declaration
ValueTask StoreFromUnionAsync(IRedisSortedSetAsync[] ofSets, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisSortedSetAsync[] | ofSets |
System.Threading.CancellationToken | token |
StoreFromUnionAsync(IRedisSortedSetAsync[])
View Source
Declaration
ValueTask StoreFromUnionAsync(params IRedisSortedSetAsync[] ofSets)
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisSortedSetAsync[] | ofSets |
GetItemIndexAsync(String, CancellationToken)
View Source
Declaration
ValueTask<long> GetItemIndexAsync(string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | value |
System.Threading.CancellationToken | token |
GetItemScoreAsync(String, CancellationToken)
View Source
Declaration
ValueTask<double> GetItemScoreAsync(string value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
System.String | value |
System.Threading.CancellationToken | token |
IncrementItemScoreAsync(String, Double, CancellationToken)
View Source
Declaration
ValueTask IncrementItemScoreAsync(string value, double incrementByScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | value |
System.Double | incrementByScore |
System.Threading.CancellationToken | token |
PopItemWithHighestScoreAsync(CancellationToken)
View Source
Declaration
ValueTask<string> PopItemWithHighestScoreAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
PopItemWithLowestScoreAsync(CancellationToken)
View Source
Declaration
ValueTask<string> PopItemWithLowestScoreAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
ClearAsync(CancellationToken)
View Source
Declaration
ValueTask ClearAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
ContainsAsync(String, CancellationToken)
View Source
Declaration
ValueTask<bool> ContainsAsync(string item, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | item |
System.Threading.CancellationToken | token |
AddAsync(String, CancellationToken)
View Source
Declaration
ValueTask AddAsync(string item, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | item |
System.Threading.CancellationToken | token |
RemoveAsync(String, CancellationToken)
View Source
Declaration
ValueTask<bool> RemoveAsync(string item, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | item |
System.Threading.CancellationToken | token |