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 |
---|---|
ExpireArgs |
ExpireArgs.gt()
Set expiry only when the new expiry is greater than current one.
|
static ExpireArgs |
ExpireArgs.Builder.gt()
Creates new
ExpireArgs and sets GT. |
ExpireArgs |
ExpireArgs.lt()
Set expiry only when the new expiry is less than current one.
|
static ExpireArgs |
ExpireArgs.Builder.lt()
Creates new
ExpireArgs and sets LT. |
ExpireArgs |
ExpireArgs.nx()
Set expiry only when the key has no expiry.
|
static ExpireArgs |
ExpireArgs.Builder.nx()
Creates new
ExpireArgs and sets NX. |
ExpireArgs |
ExpireArgs.xx()
Set expiry only when the key has an existing expiry.
|
static ExpireArgs |
ExpireArgs.Builder.xx()
Creates new
ExpireArgs and sets XX. |
Modifier and Type | Method and Description |
---|---|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.expire(K key,
Duration seconds,
ExpireArgs expireArgs) |
Mono<Boolean> |
AbstractRedisReactiveCommands.expire(K key,
Duration seconds,
ExpireArgs expireArgs) |
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.expire(K key,
long seconds,
ExpireArgs expireArgs) |
Mono<Boolean> |
AbstractRedisReactiveCommands.expire(K key,
long seconds,
ExpireArgs expireArgs) |
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.expireat(K key,
Date timestamp,
ExpireArgs expireArgs) |
Mono<Boolean> |
AbstractRedisReactiveCommands.expireat(K key,
Date timestamp,
ExpireArgs expireArgs) |
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.expireat(K key,
Instant timestamp,
ExpireArgs expireArgs) |
Mono<Boolean> |
AbstractRedisReactiveCommands.expireat(K key,
Instant timestamp,
ExpireArgs expireArgs) |
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.expireat(K key,
long timestamp,
ExpireArgs expireArgs) |
Mono<Boolean> |
AbstractRedisReactiveCommands.expireat(K key,
long timestamp,
ExpireArgs expireArgs) |
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.pexpire(K key,
Duration milliseconds,
ExpireArgs expireArgs) |
Mono<Boolean> |
AbstractRedisReactiveCommands.pexpire(K key,
Duration milliseconds,
ExpireArgs expireArgs) |
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.pexpire(K key,
long milliseconds,
ExpireArgs expireArgs) |
Mono<Boolean> |
AbstractRedisReactiveCommands.pexpire(K key,
long milliseconds,
ExpireArgs expireArgs) |
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.pexpireat(K key,
Date timestamp,
ExpireArgs expireArgs) |
Mono<Boolean> |
AbstractRedisReactiveCommands.pexpireat(K key,
Date timestamp,
ExpireArgs expireArgs) |
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.pexpireat(K key,
Instant timestamp,
ExpireArgs expireArgs) |
Mono<Boolean> |
AbstractRedisReactiveCommands.pexpireat(K key,
Instant timestamp,
ExpireArgs expireArgs) |
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.pexpireat(K key,
long timestamp,
ExpireArgs expireArgs) |
Mono<Boolean> |
AbstractRedisReactiveCommands.pexpireat(K key,
long timestamp,
ExpireArgs expireArgs) |
Modifier and Type | Method and Description |
---|---|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.expire(K key,
Duration seconds,
ExpireArgs expireArgs)
Set a key's time to live in seconds.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.expire(K key,
long seconds,
ExpireArgs expireArgs)
Set a key's time to live in seconds.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.expireat(K key,
Date timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.expireat(K key,
Instant timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.expireat(K key,
long timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.pexpire(K key,
Duration milliseconds,
ExpireArgs expireArgs)
Set a key's time to live in milliseconds.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.pexpire(K key,
long milliseconds,
ExpireArgs expireArgs)
Set a key's time to live in milliseconds.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.pexpireat(K key,
Date timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.pexpireat(K key,
Instant timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.pexpireat(K key,
long timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
Modifier and Type | Method and Description |
---|---|
Mono<Boolean> |
RedisKeyReactiveCommands.expire(K key,
Duration seconds,
ExpireArgs expireArgs)
Set a key's time to live in seconds.
|
Mono<Boolean> |
RedisKeyReactiveCommands.expire(K key,
long seconds,
ExpireArgs expireArgs)
Set a key's time to live in seconds.
|
Mono<Boolean> |
RedisKeyReactiveCommands.expireat(K key,
Date timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
Mono<Boolean> |
RedisKeyReactiveCommands.expireat(K key,
Instant timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
Mono<Boolean> |
RedisKeyReactiveCommands.expireat(K key,
long timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
Mono<Boolean> |
RedisKeyReactiveCommands.pexpire(K key,
Duration milliseconds,
ExpireArgs expireArgs)
Set a key's time to live in milliseconds.
|
Mono<Boolean> |
RedisKeyReactiveCommands.pexpire(K key,
long milliseconds,
ExpireArgs expireArgs)
Set a key's time to live in milliseconds.
|
Mono<Boolean> |
RedisKeyReactiveCommands.pexpireat(K key,
Date timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
Mono<Boolean> |
RedisKeyReactiveCommands.pexpireat(K key,
Instant timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
Mono<Boolean> |
RedisKeyReactiveCommands.pexpireat(K key,
long timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
RedisKeyCommands.expire(K key,
Duration seconds,
ExpireArgs expireArgs)
Set a key's time to live in seconds.
|
Boolean |
RedisKeyCommands.expire(K key,
long seconds,
ExpireArgs expireArgs)
Set a key's time to live in seconds.
|
Boolean |
RedisKeyCommands.expireat(K key,
Date timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
Boolean |
RedisKeyCommands.expireat(K key,
Instant timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
Boolean |
RedisKeyCommands.expireat(K key,
long timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
Boolean |
RedisKeyCommands.pexpire(K key,
Duration milliseconds,
ExpireArgs expireArgs)
Set a key's time to live in milliseconds.
|
Boolean |
RedisKeyCommands.pexpire(K key,
long milliseconds,
ExpireArgs expireArgs)
Set a key's time to live in milliseconds.
|
Boolean |
RedisKeyCommands.pexpireat(K key,
Date timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
Boolean |
RedisKeyCommands.pexpireat(K key,
Instant timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
Boolean |
RedisKeyCommands.pexpireat(K key,
long timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
Modifier and Type | Method and Description |
---|---|
AsyncExecutions<Boolean> |
NodeSelectionKeyAsyncCommands.expire(K key,
Duration seconds,
ExpireArgs expireArgs)
Set a key's time to live in seconds.
|
AsyncExecutions<Boolean> |
NodeSelectionKeyAsyncCommands.expire(K key,
long seconds,
ExpireArgs expireArgs)
Set a key's time to live in seconds.
|
AsyncExecutions<Boolean> |
NodeSelectionKeyAsyncCommands.expireat(K key,
Date timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
AsyncExecutions<Boolean> |
NodeSelectionKeyAsyncCommands.expireat(K key,
Instant timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
AsyncExecutions<Boolean> |
NodeSelectionKeyAsyncCommands.expireat(K key,
long timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
AsyncExecutions<Boolean> |
NodeSelectionKeyAsyncCommands.pexpire(K key,
Duration milliseconds,
ExpireArgs expireArgs)
Set a key's time to live in milliseconds.
|
AsyncExecutions<Boolean> |
NodeSelectionKeyAsyncCommands.pexpire(K key,
long milliseconds,
ExpireArgs expireArgs)
Set a key's time to live in milliseconds.
|
AsyncExecutions<Boolean> |
NodeSelectionKeyAsyncCommands.pexpireat(K key,
Date timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
AsyncExecutions<Boolean> |
NodeSelectionKeyAsyncCommands.pexpireat(K key,
Instant timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
AsyncExecutions<Boolean> |
NodeSelectionKeyAsyncCommands.pexpireat(K key,
long timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
Modifier and Type | Method and Description |
---|---|
Executions<Boolean> |
NodeSelectionKeyCommands.expire(K key,
Duration seconds,
ExpireArgs expireArgs)
Set a key's time to live in seconds.
|
Executions<Boolean> |
NodeSelectionKeyCommands.expire(K key,
long seconds,
ExpireArgs expireArgs)
Set a key's time to live in seconds.
|
Executions<Boolean> |
NodeSelectionKeyCommands.expireat(K key,
Date timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
Executions<Boolean> |
NodeSelectionKeyCommands.expireat(K key,
Instant timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
Executions<Boolean> |
NodeSelectionKeyCommands.expireat(K key,
long timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp.
|
Executions<Boolean> |
NodeSelectionKeyCommands.pexpire(K key,
Duration milliseconds,
ExpireArgs expireArgs)
Set a key's time to live in milliseconds.
|
Executions<Boolean> |
NodeSelectionKeyCommands.pexpire(K key,
long milliseconds,
ExpireArgs expireArgs)
Set a key's time to live in milliseconds.
|
Executions<Boolean> |
NodeSelectionKeyCommands.pexpireat(K key,
Date timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
Executions<Boolean> |
NodeSelectionKeyCommands.pexpireat(K key,
Instant timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
Executions<Boolean> |
NodeSelectionKeyCommands.pexpireat(K key,
long timestamp,
ExpireArgs expireArgs)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
Copyright © 2024 lettuce.io. All rights reserved.