public interface RLexSortedSetAsync extends RCollectionAsync<String>
| Modifier and Type | Method and Description |
|---|---|
RFuture<Integer> |
countAsync(String fromElement,
boolean fromInclusive,
String toElement,
boolean toInclusive)
Returns the number of elements between
fromElement and toElement. |
RFuture<Integer> |
countHeadAsync(String toElement,
boolean toInclusive)
Returns the number of head values ending with
toElement. |
RFuture<Integer> |
countTailAsync(String fromElement,
boolean fromInclusive)
Returns the number of tail values starting with
fromElement. |
RFuture<String> |
firstAsync()
Returns the first element.
|
RFuture<String> |
lastAsync()
Returns the last element.
|
RFuture<String> |
pollFirstAsync()
Removes and returns the head element or
null if this sorted set is empty. |
RFuture<String> |
pollLastAsync()
Removes and returns the tail element or
null if this sorted set is empty. |
RFuture<Collection<String>> |
rangeAsync(int startIndex,
int endIndex)
Returns values by rank range.
|
RFuture<Collection<String>> |
rangeAsync(String fromElement,
boolean fromInclusive,
String toElement,
boolean toInclusive)
Returns values range starting with
fromElement and ending with toElement. |
RFuture<Collection<String>> |
rangeAsync(String fromElement,
boolean fromInclusive,
String toElement,
boolean toInclusive,
int offset,
int count)
Returns values range starting with
fromElement and ending with toElement. |
RFuture<Collection<String>> |
rangeHeadAsync(String toElement,
boolean toInclusive)
Returns head values range ending with
toElement. |
RFuture<Collection<String>> |
rangeHeadAsync(String toElement,
boolean toInclusive,
int offset,
int count)
Returns head values range ending with
toElement. |
RFuture<Collection<String>> |
rangeHeadReversedAsync(String toElement,
boolean toInclusive)
Returns head values range in reverse order ending with
toElement. |
RFuture<Collection<String>> |
rangeHeadReversedAsync(String toElement,
boolean toInclusive,
int offset,
int count)
Returns head values range in reverse order ending with
toElement. |
RFuture<Collection<String>> |
rangeReversedAsync(String fromElement,
boolean fromInclusive,
String toElement,
boolean toInclusive)
Returns values range in reverse order starting with
fromElement and ending with toElement. |
RFuture<Collection<String>> |
rangeReversedAsync(String fromElement,
boolean fromInclusive,
String toElement,
boolean toInclusive,
int offset,
int count)
Returns values range in reverse order starting with
fromElement and ending with toElement. |
RFuture<Collection<String>> |
rangeTailAsync(String fromElement,
boolean fromInclusive)
Returns tail values range starting with
fromElement. |
RFuture<Collection<String>> |
rangeTailAsync(String fromElement,
boolean fromInclusive,
int offset,
int count)
Returns tail values range starting with
fromElement. |
RFuture<Collection<String>> |
rangeTailReversedAsync(String fromElement,
boolean fromInclusive)
Returns tail values range in reverse order starting with
fromElement. |
RFuture<Collection<String>> |
rangeTailReversedAsync(String fromElement,
boolean fromInclusive,
int offset,
int count)
Returns tail values range in reverse order starting with
fromElement. |
RFuture<Integer> |
rankAsync(String o)
Returns rank of the element
|
RFuture<Collection<String>> |
readAllAsync()
Read all values at once.
|
RFuture<Integer> |
removeRangeAsync(String fromElement,
boolean fromInclusive,
String toElement,
boolean toInclusive)
Removes values range starting with
fromElement and ending with toElement. |
RFuture<Integer> |
removeRangeHeadAsync(String toElement,
boolean toInclusive)
Removes head values range ending with
toElement. |
RFuture<Integer> |
removeRangeTailAsync(String fromElement,
boolean fromInclusive)
Removes tail values range starting with
fromElement. |
RFuture<Integer> |
revRankAsync(String o)
Returns rank of value, with the scores ordered from high to low.
|
addAllAsync, addAsync, containsAllAsync, containsAsync, removeAllAsync, removeAsync, retainAllAsync, sizeAsyncclearExpireAsync, expireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsyncaddListenerAsync, copyAsync, deleteAsync, dumpAsync, getIdleTimeAsync, isExistsAsync, migrateAsync, moveAsync, removeListenerAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemoryAsync, touchAsync, unlinkAsyncRFuture<String> pollLastAsync()
null if this sorted set is empty.null if this sorted set is emptyRFuture<String> pollFirstAsync()
null if this sorted set is empty.null if this sorted set is emptyRFuture<Collection<String>> readAllAsync()
RFuture<Integer> removeRangeAsync(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
fromElement and ending with toElement.fromElement - - start elementfromInclusive - - start element inclusivetoElement - - end elementtoInclusive - - end element inclusiveRFuture<Integer> removeRangeTailAsync(String fromElement, boolean fromInclusive)
fromElement.fromElement - - start elementfromInclusive - - start element inclusiveRFuture<Integer> removeRangeHeadAsync(String toElement, boolean toInclusive)
toElement.toElement - - end elementtoInclusive - - end element inclusiveRFuture<Integer> countTailAsync(String fromElement, boolean fromInclusive)
fromElement.fromElement - - start elementfromInclusive - - start element inclusiveRFuture<Integer> countHeadAsync(String toElement, boolean toInclusive)
toElement.toElement - - end elementtoInclusive - - end element inclusiveRFuture<Collection<String>> rangeTailAsync(String fromElement, boolean fromInclusive)
fromElement.fromElement - - start elementfromInclusive - - start element inclusiveRFuture<Collection<String>> rangeHeadAsync(String toElement, boolean toInclusive)
toElement.toElement - - end elementtoInclusive - - end element inclusiveRFuture<Collection<String>> rangeAsync(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
fromElement and ending with toElement.fromElement - - start elementfromInclusive - - start element inclusivetoElement - - end elementtoInclusive - - end element inclusiveRFuture<Collection<String>> rangeTailAsync(String fromElement, boolean fromInclusive, int offset, int count)
fromElement.
Returned collection limited by count and starts with offset.fromElement - - start elementfromInclusive - - start element inclusiveoffset - - offset of result collectioncount - - amount of result collectionRFuture<Collection<String>> rangeHeadAsync(String toElement, boolean toInclusive, int offset, int count)
toElement.
Returned collection limited by count and starts with offset.toElement - - end elementtoInclusive - - end element inclusiveoffset - - offset of result collectioncount - - amount of result collectionRFuture<Collection<String>> rangeAsync(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive, int offset, int count)
fromElement and ending with toElement.
Returned collection limited by count and starts with offset.fromElement - - start elementfromInclusive - - start element inclusivetoElement - - end elementtoInclusive - - end element inclusiveoffset - - offset of result collectioncount - - amount of result collectionRFuture<Collection<String>> rangeTailReversedAsync(String fromElement, boolean fromInclusive)
fromElement.fromElement - - start elementfromInclusive - - start element inclusiveRFuture<Collection<String>> rangeHeadReversedAsync(String toElement, boolean toInclusive)
toElement.toElement - - end elementtoInclusive - - end element inclusiveRFuture<Collection<String>> rangeReversedAsync(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
fromElement and ending with toElement.fromElement - - start elementfromInclusive - - start element inclusivetoElement - - end elementtoInclusive - - end element inclusiveRFuture<Collection<String>> rangeTailReversedAsync(String fromElement, boolean fromInclusive, int offset, int count)
fromElement.
Returned collection limited by count and starts with offset.fromElement - - start elementfromInclusive - - start element inclusiveoffset - - offset of result collectioncount - - amount of result collectionRFuture<Collection<String>> rangeHeadReversedAsync(String toElement, boolean toInclusive, int offset, int count)
toElement.
Returned collection limited by count and starts with offset.toElement - - end elementtoInclusive - - end element inclusiveoffset - - offset of result collectioncount - - amount of result collectionRFuture<Collection<String>> rangeReversedAsync(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive, int offset, int count)
fromElement and ending with toElement.
Returned collection limited by count and starts with offset.fromElement - - start elementfromInclusive - - start element inclusivetoElement - - end elementtoInclusive - - end element inclusiveoffset - - offset of result collectioncount - - amount of result collectionRFuture<Integer> countAsync(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
fromElement and toElement.fromElement - - start elementfromInclusive - - start element inclusivetoElement - - end elementtoInclusive - - end element inclusiveRFuture<Integer> rankAsync(String o)
o - - element to ranknull if element does not existRFuture<Collection<String>> rangeAsync(int startIndex, int endIndex)
-1 means the highest score, -2 means the second highest score.startIndex - - start indexendIndex - - end indexCopyright © 2014–2021 Redisson. All rights reserved.