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() |
int |
lexCount(String fromElement,
boolean fromInclusive,
String toElement,
boolean toInclusive)
Deprecated.
|
int |
lexCountHead(String toElement,
boolean toInclusive)
Deprecated.
|
int |
lexCountTail(String fromElement,
boolean fromInclusive)
Deprecated.
|
Collection<String> |
lexRange(String fromElement,
boolean fromInclusive,
String toElement,
boolean toInclusive)
Deprecated.
|
Collection<String> |
lexRange(String fromElement,
boolean fromInclusive,
String toElement,
boolean toInclusive,
int offset,
int count)
Deprecated.
|
Collection<String> |
lexRangeHead(String toElement,
boolean toInclusive)
Deprecated.
|
Collection<String> |
lexRangeHead(String toElement,
boolean toInclusive,
int offset,
int count)
Deprecated.
|
Collection<String> |
lexRangeTail(String fromElement,
boolean fromInclusive)
Deprecated.
|
Collection<String> |
lexRangeTail(String fromElement,
boolean fromInclusive,
int offset,
int count)
Deprecated.
|
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 |
removeRangeByLex(String fromElement,
boolean fromInclusive,
String toElement,
boolean toInclusive)
Deprecated.
|
int |
removeRangeHead(String toElement,
boolean toInclusive) |
int |
removeRangeHeadByLex(String toElement,
boolean toInclusive)
Deprecated.
|
int |
removeRangeTail(String fromElement,
boolean fromInclusive) |
int |
removeRangeTailByLex(String fromElement,
boolean fromInclusive)
Deprecated.
|
Integer |
revRank(String o)
Returns rank of value, with the scores ordered from high to low.
|
Collection<String> |
valueRange(int startIndex,
int endIndex)
Deprecated.
|
countAsync, countHeadAsync, countTailAsync, firstAsync, lastAsync, lexCountAsync, lexCountHeadAsync, lexCountTailAsync, lexRangeAsync, lexRangeAsync, lexRangeHeadAsync, lexRangeHeadAsync, lexRangeTailAsync, lexRangeTailAsync, pollFirstAsync, pollLastAsync, rangeAsync, rangeAsync, rangeAsync, rangeHeadAsync, rangeHeadAsync, rangeTailAsync, rangeTailAsync, rankAsync, readAllAsync, removeRangeAsync, removeRangeByLexAsync, removeRangeHeadAsync, removeRangeHeadByLexAsync, removeRangeTailAsync, removeRangeTailByLexAsync, revRankAsync, valueRangeAsync
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
- null
if value does not existCollection<String> readAll()
int removeRangeTail(String fromElement, boolean fromInclusive)
@Deprecated int removeRangeTailByLex(String fromElement, boolean fromInclusive)
int removeRangeHead(String toElement, boolean toInclusive)
@Deprecated int removeRangeHeadByLex(String toElement, boolean toInclusive)
int removeRange(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
@Deprecated int removeRangeByLex(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
RLexSortedSet#removeRange(String, boolean)
int countTail(String fromElement, boolean fromInclusive)
@Deprecated int lexCountTail(String fromElement, boolean fromInclusive)
int countHead(String toElement, boolean toInclusive)
@Deprecated int lexCountHead(String toElement, boolean toInclusive)
Collection<String> rangeTail(String fromElement, boolean fromInclusive)
@Deprecated Collection<String> lexRangeTail(String fromElement, boolean fromInclusive)
Collection<String> rangeHead(String toElement, boolean toInclusive)
@Deprecated Collection<String> lexRangeHead(String toElement, boolean toInclusive)
Collection<String> range(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
@Deprecated Collection<String> lexRange(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
Collection<String> rangeTail(String fromElement, boolean fromInclusive, int offset, int count)
@Deprecated Collection<String> lexRangeTail(String fromElement, boolean fromInclusive, int offset, int count)
Collection<String> rangeHead(String toElement, boolean toInclusive, int offset, int count)
@Deprecated Collection<String> lexRangeHead(String toElement, boolean toInclusive, int offset, int count)
Collection<String> range(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive, int offset, int count)
@Deprecated Collection<String> lexRange(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive, int offset, int count)
@Deprecated int lexCount(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
Collection<String> range(int startIndex, int endIndex)
@Deprecated Collection<String> valueRange(int startIndex, int endIndex)
range(int, int)
Copyright © 2014–2016. All rights reserved.