public interface RScoredSortedSetAsync<V> extends RExpirableAsync
Modifier and Type | Method and Description |
---|---|
io.netty.util.concurrent.Future<Long> |
addAllAsync(Map<V,Double> objects) |
io.netty.util.concurrent.Future<Boolean> |
addAsync(double score,
V object)
Adds element to this set, overrides previous score if it has been already added.
|
io.netty.util.concurrent.Future<Double> |
addScoreAsync(V object,
Number value) |
io.netty.util.concurrent.Future<Boolean> |
containsAllAsync(Collection<?> c) |
io.netty.util.concurrent.Future<Boolean> |
containsAsync(Object o) |
io.netty.util.concurrent.Future<Long> |
countAsync(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive)
Returns the number of elements with a score between
startScore and endScore . |
io.netty.util.concurrent.Future<Collection<ScoredEntry<V>>> |
entryRangeAsync(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive) |
io.netty.util.concurrent.Future<Collection<ScoredEntry<V>>> |
entryRangeAsync(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive,
int offset,
int count) |
io.netty.util.concurrent.Future<Collection<ScoredEntry<V>>> |
entryRangeAsync(int startIndex,
int endIndex) |
io.netty.util.concurrent.Future<Collection<ScoredEntry<V>>> |
entryRangeReversedAsync(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive,
int offset,
int count) |
io.netty.util.concurrent.Future<V> |
firstAsync() |
io.netty.util.concurrent.Future<Double> |
getScoreAsync(V o) |
io.netty.util.concurrent.Future<V> |
lastAsync() |
io.netty.util.concurrent.Future<V> |
pollFirstAsync() |
io.netty.util.concurrent.Future<V> |
pollLastAsync() |
io.netty.util.concurrent.Future<Integer> |
rankAsync(V o) |
io.netty.util.concurrent.Future<Collection<V>> |
readAllAsync()
Read all values at once.
|
io.netty.util.concurrent.Future<Boolean> |
removeAllAsync(Collection<?> c) |
io.netty.util.concurrent.Future<Boolean> |
removeAsync(V object) |
io.netty.util.concurrent.Future<Integer> |
removeRangeByRankAsync(int startIndex,
int endIndex) |
io.netty.util.concurrent.Future<Integer> |
removeRangeByScoreAsync(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive) |
io.netty.util.concurrent.Future<Boolean> |
retainAllAsync(Collection<?> c) |
io.netty.util.concurrent.Future<Integer> |
revRankAsync(V o) |
io.netty.util.concurrent.Future<Integer> |
sizeAsync() |
io.netty.util.concurrent.Future<Boolean> |
tryAddAsync(double score,
V object)
Adds element to this set only if has not been added before.
|
io.netty.util.concurrent.Future<Collection<V>> |
valueRangeAsync(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive) |
io.netty.util.concurrent.Future<Collection<V>> |
valueRangeAsync(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive,
int offset,
int count) |
io.netty.util.concurrent.Future<Collection<V>> |
valueRangeAsync(int startIndex,
int endIndex) |
io.netty.util.concurrent.Future<Collection<V>> |
valueRangeReversedAsync(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive) |
io.netty.util.concurrent.Future<Collection<V>> |
valueRangeReversedAsync(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive,
int offset,
int count) |
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync
io.netty.util.concurrent.Future<V> pollLastAsync()
io.netty.util.concurrent.Future<V> pollFirstAsync()
io.netty.util.concurrent.Future<V> firstAsync()
io.netty.util.concurrent.Future<V> lastAsync()
io.netty.util.concurrent.Future<Integer> removeRangeByScoreAsync(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive)
io.netty.util.concurrent.Future<Integer> removeRangeByRankAsync(int startIndex, int endIndex)
io.netty.util.concurrent.Future<Boolean> addAsync(double score, V object)
score
- object
- true
if element has added and false
if not.io.netty.util.concurrent.Future<Boolean> tryAddAsync(double score, V object)
score
- object
- true
if element has added and false
if not.io.netty.util.concurrent.Future<Integer> sizeAsync()
io.netty.util.concurrent.Future<Boolean> containsAllAsync(Collection<?> c)
io.netty.util.concurrent.Future<Boolean> removeAllAsync(Collection<?> c)
io.netty.util.concurrent.Future<Boolean> retainAllAsync(Collection<?> c)
io.netty.util.concurrent.Future<Collection<V>> valueRangeAsync(int startIndex, int endIndex)
io.netty.util.concurrent.Future<Collection<ScoredEntry<V>>> entryRangeAsync(int startIndex, int endIndex)
io.netty.util.concurrent.Future<Collection<V>> valueRangeAsync(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive)
io.netty.util.concurrent.Future<Collection<V>> valueRangeReversedAsync(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive)
io.netty.util.concurrent.Future<Collection<ScoredEntry<V>>> entryRangeAsync(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive)
io.netty.util.concurrent.Future<Collection<V>> valueRangeAsync(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive, int offset, int count)
io.netty.util.concurrent.Future<Collection<V>> valueRangeReversedAsync(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive, int offset, int count)
io.netty.util.concurrent.Future<Collection<ScoredEntry<V>>> entryRangeAsync(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive, int offset, int count)
io.netty.util.concurrent.Future<Collection<ScoredEntry<V>>> entryRangeReversedAsync(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive, int offset, int count)
io.netty.util.concurrent.Future<Long> countAsync(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive)
startScore
and endScore
.startScore
- startScoreInclusive
- endScore
- endScoreInclusive
- io.netty.util.concurrent.Future<Collection<V>> readAllAsync()
Copyright © 2014–2016 The Redisson Project. All rights reserved.