public interface RLexSortedSet extends RLexSortedSetAsync, Set<String>, RExpirable
Modifier and Type | Method and Description |
---|---|
int |
count(String fromElement,
boolean fromInclusive,
String toElement,
boolean toInclusive) |
int |
countHead(String toElement,
boolean toInclusive) |
int |
countTail(String fromElement,
boolean fromInclusive) |
String |
first() |
String |
last() |
String |
pollFirst() |
String |
pollLast() |
Collection<String> |
range(int startIndex,
int endIndex) |
Collection<String> |
range(String fromElement,
boolean fromInclusive,
String toElement,
boolean toInclusive) |
Collection<String> |
range(String fromElement,
boolean fromInclusive,
String toElement,
boolean toInclusive,
int offset,
int count) |
Collection<String> |
rangeHead(String toElement,
boolean toInclusive) |
Collection<String> |
rangeHead(String toElement,
boolean toInclusive,
int offset,
int count) |
Collection<String> |
rangeTail(String fromElement,
boolean fromInclusive) |
Collection<String> |
rangeTail(String fromElement,
boolean fromInclusive,
int offset,
int count) |
Integer |
rank(String o) |
Collection<String> |
readAll()
Read all values at once.
|
int |
removeRange(String fromElement,
boolean fromInclusive,
String toElement,
boolean toInclusive) |
int |
removeRangeHead(String toElement,
boolean toInclusive) |
int |
removeRangeTail(String fromElement,
boolean fromInclusive) |
Integer |
revRank(String o)
Returns rank of value, with the scores ordered from high to low.
|
countAsync, countHeadAsync, countTailAsync, firstAsync, lastAsync, pollFirstAsync, pollLastAsync, rangeAsync, rangeAsync, rangeAsync, rangeHeadAsync, rangeHeadAsync, rangeTailAsync, rangeTailAsync, rankAsync, readAllAsync, removeRangeAsync, removeRangeHeadAsync, removeRangeTailAsync, revRankAsync
addAllAsync, addAsync, containsAllAsync, containsAsync, removeAllAsync, removeAsync, retainAllAsync, sizeAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
clearExpire, expire, expireAt, expireAt, remainTimeToLive
String pollFirst()
String pollLast()
String first()
String last()
Integer revRank(String o)
o
- - objectnull
if value does not existCollection<String> readAll()
int removeRangeTail(String fromElement, boolean fromInclusive)
int removeRangeHead(String toElement, boolean toInclusive)
int removeRange(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
int countTail(String fromElement, boolean fromInclusive)
int countHead(String toElement, boolean toInclusive)
Collection<String> rangeTail(String fromElement, boolean fromInclusive)
Collection<String> rangeHead(String toElement, boolean toInclusive)
Collection<String> range(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
Collection<String> rangeTail(String fromElement, boolean fromInclusive, int offset, int count)
Collection<String> rangeHead(String toElement, boolean toInclusive, int offset, int count)
Collection<String> range(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive, int offset, int count)
Collection<String> range(int startIndex, int endIndex)
Copyright © 2014–2016 The Redisson Project. All rights reserved.