Package | Description |
---|---|
org.redisson | |
org.redisson.api | |
org.redisson.api.stream |
Modifier and Type | Method and Description |
---|---|
long |
RedissonStream.trim(TrimStrategy strategy,
int threshold) |
RFuture<Long> |
RedissonStream.trimAsync(TrimStrategy strategy,
int threshold) |
long |
RedissonStream.trimNonStrict(TrimStrategy strategy,
int threshold) |
long |
RedissonStream.trimNonStrict(TrimStrategy strategy,
int threshold,
int limit) |
RFuture<Long> |
RedissonStream.trimNonStrictAsync(TrimStrategy strategy,
int threshold) |
RFuture<Long> |
RedissonStream.trimNonStrictAsync(TrimStrategy strategy,
int threshold,
int limit) |
Modifier and Type | Method and Description |
---|---|
long |
RStream.trim(TrimStrategy strategy,
int threshold)
Trims stream to specified size
|
reactor.core.publisher.Mono<Long> |
RStreamReactive.trim(TrimStrategy strategy,
int threshold)
Trims stream to specified size
|
io.reactivex.rxjava3.core.Single<Long> |
RStreamRx.trim(TrimStrategy strategy,
int threshold)
Trims stream to specified size
|
RFuture<Long> |
RStreamAsync.trimAsync(TrimStrategy strategy,
int threshold)
Trims stream to specified size
|
long |
RStream.trimNonStrict(TrimStrategy strategy,
int threshold)
Trims stream using almost exact trimming threshold.
|
reactor.core.publisher.Mono<Long> |
RStreamReactive.trimNonStrict(TrimStrategy strategy,
int threshold)
Trims stream using almost exact trimming threshold.
|
io.reactivex.rxjava3.core.Single<Long> |
RStreamRx.trimNonStrict(TrimStrategy strategy,
int threshold)
Trims stream using almost exact trimming threshold.
|
long |
RStream.trimNonStrict(TrimStrategy strategy,
int threshold,
int limit)
Trims stream using almost exact trimming threshold up to limit.
|
reactor.core.publisher.Mono<Long> |
RStreamReactive.trimNonStrict(TrimStrategy strategy,
int threshold,
int limit)
Trims stream using almost exact trimming threshold up to limit.
|
io.reactivex.rxjava3.core.Single<Long> |
RStreamRx.trimNonStrict(TrimStrategy strategy,
int threshold,
int limit)
Trims stream using almost exact trimming threshold up to limit.
|
RFuture<Long> |
RStreamAsync.trimNonStrictAsync(TrimStrategy strategy,
int threshold)
Trims stream using almost exact trimming threshold.
|
RFuture<Long> |
RStreamAsync.trimNonStrictAsync(TrimStrategy strategy,
int threshold,
int limit)
Trims stream using almost exact trimming threshold up to limit.
|
Modifier and Type | Method and Description |
---|---|
TrimStrategy |
StreamAddParams.getTrimStrategy() |
static TrimStrategy |
TrimStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrimStrategy[] |
TrimStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
StreamAddParams.setTrimStrategy(TrimStrategy trimStrategy) |
StreamAddArgs<K,V> |
StreamAddArgs.trim(TrimStrategy strategy,
int threshold)
Defines trim strategy and threshold.
|
StreamAddArgs<K,V> |
StreamAddArgs.trim(TrimStrategy strategy,
int threshold,
int limit)
Defines trim strategy, threshold and limit.
|
StreamAddArgs<K,V> |
StreamAddArgs.trimStrict(TrimStrategy strategy,
int threshold)
Defines trim strategy and threshold.
|
Copyright © 2014–2021 Redisson. All rights reserved.