Package | Description |
---|---|
io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
io.lettuce.core.api.async |
Standalone Redis API for asynchronous executed commands.
|
io.lettuce.core.api.reactive |
Standalone Redis API for reactive command execution.
|
io.lettuce.core.api.sync |
Standalone Redis API for synchronous executed commands.
|
io.lettuce.core.cluster.api.async |
Redis Cluster API for asynchronous executed commands.
|
io.lettuce.core.cluster.api.sync |
Redis Cluster API for synchronous executed commands.
|
Modifier and Type | Method and Description |
---|---|
XTrimArgs |
XTrimArgs.approximateTrimming()
Apply efficient trimming for capped streams using the
~ flag. |
XTrimArgs |
XTrimArgs.approximateTrimming(boolean approximateTrimming)
Apply efficient trimming for capped streams using the
~ flag. |
XTrimArgs |
XTrimArgs.exactTrimming()
Apply exact trimming for capped streams using the
= flag. |
XTrimArgs |
XTrimArgs.exactTrimming(boolean exactTrimming)
Apply exact trimming for capped streams using the
= flag. |
XTrimArgs |
XTrimArgs.limit(long limit)
The maximum number of entries to trim.
|
XTrimArgs |
XTrimArgs.maxlen(long maxlen)
Limit stream to
maxlen entries. |
static XTrimArgs |
XTrimArgs.Builder.maxlen(long count)
Creates new
XTrimArgs and setting MAXLEN. |
XTrimArgs |
XTrimArgs.minId(String minid)
Limit stream entries by message Id.
|
static XTrimArgs |
XTrimArgs.Builder.minId(String minid)
Creates new
XTrimArgs and setting MINID. |
Modifier and Type | Method and Description |
---|---|
RedisFuture<Long> |
AbstractRedisAsyncCommands.xtrim(K key,
XTrimArgs args) |
Mono<Long> |
AbstractRedisReactiveCommands.xtrim(K key,
XTrimArgs args) |
Modifier and Type | Method and Description |
---|---|
RedisFuture<Long> |
RedisStreamAsyncCommands.xtrim(K key,
XTrimArgs args)
Trims the stream within a specific
XTrimArgs . |
Modifier and Type | Method and Description |
---|---|
Mono<Long> |
RedisStreamReactiveCommands.xtrim(K key,
XTrimArgs args)
Trims the stream within a specific
XTrimArgs . |
Modifier and Type | Method and Description |
---|---|
Long |
RedisStreamCommands.xtrim(K key,
XTrimArgs args)
Trims the stream within a specific
XTrimArgs . |
Modifier and Type | Method and Description |
---|---|
AsyncExecutions<Long> |
NodeSelectionStreamAsyncCommands.xtrim(K key,
XTrimArgs args)
Trims the stream within a specific
XTrimArgs . |
Modifier and Type | Method and Description |
---|---|
Executions<Long> |
NodeSelectionStreamCommands.xtrim(K key,
XTrimArgs args)
Trims the stream within a specific
XTrimArgs . |
Copyright © 2024 lettuce.io. All rights reserved.