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.
|
io.lettuce.core.support.caching |
Modifier and Type | Method and Description |
---|---|
TrackingArgs |
TrackingArgs.bcast()
Enable tracking in broadcasting mode.
|
static TrackingArgs |
TrackingArgs.Builder.enabled()
Creates new
TrackingArgs with CLIENT TRACKING ON. |
TrackingArgs |
TrackingArgs.enabled(boolean enabled)
Controls whether to enable key tracking for the currently connected client.
|
static TrackingArgs |
TrackingArgs.Builder.enabled(boolean enabled)
|
TrackingArgs |
TrackingArgs.noloop()
Don't send notifications about keys modified by this connection itself.
|
TrackingArgs |
TrackingArgs.optin()
When broadcasting is NOT active, normally don't track keys in read only commands, unless they are called immediately
after a CLIENT CACHING yes command.
|
TrackingArgs |
TrackingArgs.optout()
When broadcasting is NOT active, normally track keys in read only commands, unless they are called immediately after a
CLIENT CACHING no command.
|
TrackingArgs |
TrackingArgs.prefixes(Charset charset,
String... prefixes)
For broadcasting, register a given key prefix, so that notifications will be provided only for keys starting with this
string.
|
TrackingArgs |
TrackingArgs.prefixes(String... prefixes)
For broadcasting, register a given key prefix, so that notifications will be provided only for keys starting with this
string.
|
TrackingArgs |
TrackingArgs.redirect(long clientId)
Send redirection messages to the connection with the specified ID.
|
Modifier and Type | Method and Description |
---|---|
RedisFuture<String> |
AbstractRedisAsyncCommands.clientTracking(TrackingArgs args) |
Mono<String> |
AbstractRedisReactiveCommands.clientTracking(TrackingArgs args) |
Modifier and Type | Method and Description |
---|---|
RedisFuture<String> |
RedisServerAsyncCommands.clientTracking(TrackingArgs args)
Enables the tracking feature of the Redis server, that is used for server assisted client side caching.
|
Modifier and Type | Method and Description |
---|---|
Mono<String> |
RedisServerReactiveCommands.clientTracking(TrackingArgs args)
Enables the tracking feature of the Redis server, that is used for server assisted client side caching.
|
Modifier and Type | Method and Description |
---|---|
String |
RedisServerCommands.clientTracking(TrackingArgs args)
Enables the tracking feature of the Redis server, that is used for server assisted client side caching.
|
Modifier and Type | Method and Description |
---|---|
AsyncExecutions<String> |
NodeSelectionServerAsyncCommands.clientTracking(TrackingArgs args)
Enables the tracking feature of the Redis server, that is used for server assisted client side caching.
|
Modifier and Type | Method and Description |
---|---|
Executions<String> |
NodeSelectionServerCommands.clientTracking(TrackingArgs args)
Enables the tracking feature of the Redis server, that is used for server assisted client side caching.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> CacheFrontend<K,V> |
ClientSideCaching.enable(CacheAccessor<K,V> cacheAccessor,
StatefulRedisConnection<K,V> connection,
TrackingArgs tracking)
Enable server-assisted Client side caching for the given
CacheAccessor and StatefulRedisConnection . |
Copyright © 2024 lettuce.io. All rights reserved.