#region 程序集 ServiceStack.Interfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=02c12cbda47e6587
// C:UsersAdministratorsource
eposSolution4packagesServiceStack.Interfaces.5.8.0lib
et45ServiceStack.Interfaces.dll
#endregion
using System.Collections;
using System.Collections.Generic;
using ServiceStack.Model;
namespace ServiceStack.Redis
{
public interface IRedisSortedSet : ICollection<string>, IEnumerable<string>, IEnumerable, IHasStringId, IHasId<string>
{
List<string> GetAll();
long GetItemIndex(string value);
double GetItemScore(string value);
List<string> GetRange(int startingRank, int endingRank);
List<string> GetRangeByScore(string fromStringScore, string toStringScore);
List<string> GetRangeByScore(string fromStringScore, string toStringScore, int? skip, int? take);
List<string> GetRangeByScore(double fromScore, double toScore);
List<string> GetRangeByScore(double fromScore, double toScore, int? skip, int? take);
void IncrementItemScore(string value, double incrementByScore);
string PopItemWithHighestScore();
string PopItemWithLowestScore();
void RemoveRange(int fromRank, int toRank);
void RemoveRangeByScore(double fromScore, double toScore);
void StoreFromIntersect(params IRedisSortedSet[] ofSets);
void StoreFromUnion(params IRedisSortedSet[] ofSets);
}
}