Uses of Interface
io.lettuce.core.codec.RedisCodec
| Package | Description |
|---|---|
| io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
| io.lettuce.core.cluster |
Client for Redis Cluster, see
RedisClusterClient. |
| io.lettuce.core.cluster.topology |
Support for cluster topology refresh.
|
| io.lettuce.core.codec |
Codecs for key/value type conversion.
|
| io.lettuce.core.dynamic |
Core package for Redis Command Interface support through
RedisCommandFactory. |
| io.lettuce.core.dynamic.codec |
RedisCodec resolution support. |
| io.lettuce.core.dynamic.output |
CommandOutput resolution support. |
| io.lettuce.core.masterreplica |
Client support for Redis Master/Replica setups.
|
| io.lettuce.core.masterslave |
Client support for Redis Master/Slave setups.
|
| io.lettuce.core.output |
Implementation of different output protocols including the Streaming API.
|
| io.lettuce.core.protocol |
Redis protocol layer abstraction.
|
| io.lettuce.core.pubsub |
Pub/Sub connection classes.
|
| io.lettuce.core.sentinel |
Redis Sentinel connection classes.
|
-
Uses of RedisCodec in io.lettuce.core
Fields in io.lettuce.core declared as RedisCodec Modifier and Type Field Description protected RedisCodec<K,V>StatefulRedisConnectionImpl. codecMethods in io.lettuce.core that return RedisCodec Modifier and Type Method Description RedisCodec<K,V>StatefulRedisConnectionImpl. getCodec()protected RedisCodec<String,String>RedisClient. newStringStringCodec()Methods in io.lettuce.core with parameters of type RedisCodec Modifier and Type Method Description <K, V> StatefulRedisConnection<K,V>RedisClient. connect(RedisCodec<K,V> codec)Open a new connection to a Redis server.<K, V> StatefulRedisConnection<K,V>RedisClient. connect(RedisCodec<K,V> codec, RedisURI redisURI)<K, V> ConnectionFuture<StatefulRedisConnection<K,V>>RedisClient. connectAsync(RedisCodec<K,V> codec, RedisURI redisURI)<K, V> StatefulRedisPubSubConnection<K,V>RedisClient. connectPubSub(RedisCodec<K,V> codec)<K, V> StatefulRedisPubSubConnection<K,V>RedisClient. connectPubSub(RedisCodec<K,V> codec, RedisURI redisURI)<K, V> ConnectionFuture<StatefulRedisPubSubConnection<K,V>>RedisClient. connectPubSubAsync(RedisCodec<K,V> codec, RedisURI redisURI)<K, V> StatefulRedisSentinelConnection<K,V>RedisClient. connectSentinel(RedisCodec<K,V> codec)Open a connection to a Redis Sentinel that treats keys and use the suppliedcodecto encode/decode keys and values.<K, V> StatefulRedisSentinelConnection<K,V>RedisClient. connectSentinel(RedisCodec<K,V> codec, RedisURI redisURI)<K, V> CompletableFuture<StatefulRedisSentinelConnection<K,V>>RedisClient. connectSentinelAsync(RedisCodec<K,V> codec, RedisURI redisURI)protected <K, V> StatefulRedisConnectionImpl<K,V>RedisClient. newStatefulRedisConnection(RedisChannelWriter channelWriter, PushHandler pushHandler, RedisCodec<K,V> codec, Duration timeout)Create a new instance ofStatefulRedisConnectionImplor a subclass.protected <K, V> StatefulRedisPubSubConnectionImpl<K,V>RedisClient. newStatefulRedisPubSubConnection(PubSubEndpoint<K,V> endpoint, RedisChannelWriter channelWriter, RedisCodec<K,V> codec, Duration timeout)Create a new instance ofStatefulRedisPubSubConnectionImplor a subclass.protected <K, V> StatefulRedisSentinelConnectionImpl<K,V>RedisClient. newStatefulRedisSentinelConnection(RedisChannelWriter channelWriter, RedisCodec<K,V> codec, Duration timeout)Create a new instance ofStatefulRedisSentinelConnectionImplor a subclass.Constructors in io.lettuce.core with parameters of type RedisCodec Constructor Description AbstractRedisAsyncCommands(StatefulConnection<K,V> connection, RedisCodec<K,V> codec)Initialize a new instance.AbstractRedisReactiveCommands(StatefulConnection<K,V> connection, RedisCodec<K,V> codec)Initialize a new instance.RedisAsyncCommandsImpl(StatefulRedisConnection<K,V> connection, RedisCodec<K,V> codec)Initialize a new instance.RedisReactiveCommandsImpl(StatefulRedisConnection<K,V> connection, RedisCodec<K,V> codec)Initialize a new instance.StatefulRedisConnectionImpl(RedisChannelWriter writer, PushHandler pushHandler, RedisCodec<K,V> codec, Duration timeout)Initialize a new connection. -
Uses of RedisCodec in io.lettuce.core.cluster
Fields in io.lettuce.core.cluster declared as RedisCodec Modifier and Type Field Description protected RedisCodec<K,V>StatefulRedisClusterConnectionImpl. codecMethods in io.lettuce.core.cluster that return RedisCodec Modifier and Type Method Description protected RedisCodec<String,String>RedisClusterClient. newStringStringCodec()Methods in io.lettuce.core.cluster with parameters of type RedisCodec Modifier and Type Method Description <K, V> StatefulRedisClusterConnection<K,V>RedisClusterClient. connect(RedisCodec<K,V> codec)Connect to a Redis Cluster.<K, V> CompletableFuture<StatefulRedisClusterConnection<K,V>>RedisClusterClient. connectAsync(RedisCodec<K,V> codec)Connect asynchronously to a Redis Cluster.<K, V> StatefulRedisClusterPubSubConnection<K,V>RedisClusterClient. connectPubSub(RedisCodec<K,V> codec)Connect to a Redis Cluster using pub/sub connections.<K, V> CompletableFuture<StatefulRedisClusterPubSubConnection<K,V>>RedisClusterClient. connectPubSubAsync(RedisCodec<K,V> codec)Connect asynchronously to a Redis Cluster using pub/sub connections.protected <V, K> StatefulRedisClusterConnectionImpl<K,V>RedisClusterClient. newStatefulRedisClusterConnection(RedisChannelWriter channelWriter, ClusterPushHandler pushHandler, RedisCodec<K,V> codec, Duration timeout)Create a new instance ofStatefulRedisClusterConnectionImplor a subclass.protected <K, V> StatefulRedisConnectionImpl<K,V>RedisClusterClient. newStatefulRedisConnection(RedisChannelWriter channelWriter, PushHandler pushHandler, RedisCodec<K,V> codec, Duration timeout)Create a new instance ofStatefulRedisConnectionImplor a subclass. -
Uses of RedisCodec in io.lettuce.core.cluster.topology
Methods in io.lettuce.core.cluster.topology with parameters of type RedisCodec Modifier and Type Method Description <K, V> StatefulRedisConnection<K,V>NodeConnectionFactory. connectToNode(RedisCodec<K,V> codec, SocketAddress socketAddress)Connects to aSocketAddresswith the givenRedisCodec.<K, V> ConnectionFuture<StatefulRedisConnection<K,V>>NodeConnectionFactory. connectToNodeAsync(RedisCodec<K,V> codec, SocketAddress socketAddress)Connects to aSocketAddresswith the givenRedisCodecasynchronously. -
Uses of RedisCodec in io.lettuce.core.codec
Classes in io.lettuce.core.codec that implement RedisCodec Modifier and Type Class Description classByteArrayCodecARedisCodecthat uses plain byte arrays without further transformations.classStringCodecOptimized String codec.classUtf8StringCodecDeprecated.since 5.2, useStringCodec.UTF8instead.Methods in io.lettuce.core.codec that return RedisCodec Modifier and Type Method Description static <K, V> RedisCodec<K,V>CipherCodec. forValues(RedisCodec<K,V> delegate, CipherCodec.CipherSupplier encrypt, CipherCodec.CipherSupplier decrypt)ARedisCodecthat compresses values from a delegatingRedisCodec.static <K, V> RedisCodec<K,V>RedisCodec. of(RedisCodec<K,?> keyCodec, RedisCodec<?,V> valueCodec)static <K, V> RedisCodec<K,V>CompressionCodec. valueCompressor(RedisCodec<K,V> delegate, CompressionCodec.CompressionType compressionType)ARedisCodecthat compresses values from a delegatingRedisCodec.Methods in io.lettuce.core.codec with parameters of type RedisCodec Modifier and Type Method Description static <K, V> RedisCodec<K,V>CipherCodec. forValues(RedisCodec<K,V> delegate, CipherCodec.CipherSupplier encrypt, CipherCodec.CipherSupplier decrypt)ARedisCodecthat compresses values from a delegatingRedisCodec.static <K, V> RedisCodec<K,V>RedisCodec. of(RedisCodec<K,?> keyCodec, RedisCodec<?,V> valueCodec)static <K, V> RedisCodec<K,V>CompressionCodec. valueCompressor(RedisCodec<K,V> delegate, CompressionCodec.CompressionType compressionType)ARedisCodecthat compresses values from a delegatingRedisCodec. -
Uses of RedisCodec in io.lettuce.core.dynamic
Constructor parameters in io.lettuce.core.dynamic with type arguments of type RedisCodec Constructor Description RedisCommandFactory(StatefulConnection<?,?> connection, Iterable<? extends RedisCodec<?,?>> redisCodecs) -
Uses of RedisCodec in io.lettuce.core.dynamic.codec
Methods in io.lettuce.core.dynamic.codec that return RedisCodec Modifier and Type Method Description RedisCodec<?,?>AnnotationRedisCodecResolver. resolve(CommandMethod commandMethod)RedisCodec<?,?>RedisCodecResolver. resolve(CommandMethod commandMethod)Resolve aRedisCodecfor the givenCommandMethod.Constructor parameters in io.lettuce.core.dynamic.codec with type arguments of type RedisCodec Constructor Description AnnotationRedisCodecResolver(List<RedisCodec<?,?>> codecs) -
Uses of RedisCodec in io.lettuce.core.dynamic.output
Methods in io.lettuce.core.dynamic.output that return RedisCodec Modifier and Type Method Description RedisCodec<?,?>OutputSelector. getRedisCodec()Methods in io.lettuce.core.dynamic.output with parameters of type RedisCodec Modifier and Type Method Description <K, V> CommandOutput<K,V,?>CommandOutputFactory. create(RedisCodec<K,V> codec)Create and initialize a newCommandOutputgivenRedisCodec.ResolvableTypeOutputType. withCodec(RedisCodec<?,?> codec)Constructors in io.lettuce.core.dynamic.output with parameters of type RedisCodec Constructor Description CodecAwareOutputFactoryResolver(CommandOutputFactoryResolver delegate, RedisCodec<?,?> redisCodec)OutputSelector(ResolvableType outputType, RedisCodec<?,?> redisCodec) -
Uses of RedisCodec in io.lettuce.core.masterreplica
Methods in io.lettuce.core.masterreplica with parameters of type RedisCodec Modifier and Type Method Description static <K, V> StatefulRedisMasterReplicaConnection<K,V>MasterReplica. connect(RedisClient redisClient, RedisCodec<K,V> codec, RedisURI redisURI)static <K, V> StatefulRedisMasterReplicaConnection<K,V>MasterReplica. connect(RedisClient redisClient, RedisCodec<K,V> codec, Iterable<RedisURI> redisURIs)static <K, V> CompletableFuture<StatefulRedisMasterReplicaConnection<K,V>>MasterReplica. connectAsync(RedisClient redisClient, RedisCodec<K,V> codec, RedisURI redisURI)static <K, V> CompletableFuture<StatefulRedisMasterReplicaConnection<K,V>>MasterReplica. connectAsync(RedisClient redisClient, RedisCodec<K,V> codec, Iterable<RedisURI> redisURIs) -
Uses of RedisCodec in io.lettuce.core.masterslave
Methods in io.lettuce.core.masterslave with parameters of type RedisCodec Modifier and Type Method Description static <K, V> StatefulRedisMasterSlaveConnection<K,V>MasterSlave. connect(RedisClient redisClient, RedisCodec<K,V> codec, RedisURI redisURI)Deprecated.static <K, V> StatefulRedisMasterSlaveConnection<K,V>MasterSlave. connect(RedisClient redisClient, RedisCodec<K,V> codec, Iterable<RedisURI> redisURIs)Deprecated.static <K, V> CompletableFuture<StatefulRedisMasterSlaveConnection<K,V>>MasterSlave. connectAsync(RedisClient redisClient, RedisCodec<K,V> codec, RedisURI redisURI)Deprecated.static <K, V> CompletableFuture<StatefulRedisMasterSlaveConnection<K,V>>MasterSlave. connectAsync(RedisClient redisClient, RedisCodec<K,V> codec, Iterable<RedisURI> redisURIs)Deprecated. -
Uses of RedisCodec in io.lettuce.core.output
Fields in io.lettuce.core.output declared as RedisCodec Modifier and Type Field Description protected RedisCodec<K,V>CommandOutput. codec -
Uses of RedisCodec in io.lettuce.core.protocol
Fields in io.lettuce.core.protocol declared as RedisCodec Modifier and Type Field Description protected RedisCodec<K,V>BaseRedisCommandBuilder. codecprotected RedisCodec<K,V>CommandArgs. codecMethods in io.lettuce.core.protocol with parameters of type RedisCodec Modifier and Type Method Description protected <T> CommandOutput<K,V,T>BaseRedisCommandBuilder. newScriptOutput(RedisCodec<K,V> codec, ScriptOutputType type)Constructors in io.lettuce.core.protocol with parameters of type RedisCodec Constructor Description BaseRedisCommandBuilder(RedisCodec<K,V> codec)CommandArgs(RedisCodec<K,V> codec) -
Uses of RedisCodec in io.lettuce.core.pubsub
Constructors in io.lettuce.core.pubsub with parameters of type RedisCodec Constructor Description PubSubCommandHandler(ClientOptions clientOptions, ClientResources clientResources, RedisCodec<K,V> codec, PubSubEndpoint<K,V> endpoint)Initialize a new instance.PubSubOutput(RedisCodec<K,V> codec)RedisPubSubAsyncCommandsImpl(StatefulRedisPubSubConnection<K,V> connection, RedisCodec<K,V> codec)Initialize a new connection.RedisPubSubReactiveCommandsImpl(StatefulRedisPubSubConnection<K,V> connection, RedisCodec<K,V> codec)Initialize a new connection.StatefulRedisPubSubConnectionImpl(PubSubEndpoint<K,V> endpoint, RedisChannelWriter writer, RedisCodec<K,V> codec, Duration timeout)Initialize a new connection. -
Uses of RedisCodec in io.lettuce.core.sentinel
Fields in io.lettuce.core.sentinel declared as RedisCodec Modifier and Type Field Description protected RedisCodec<K,V>StatefulRedisSentinelConnectionImpl. codecConstructors in io.lettuce.core.sentinel with parameters of type RedisCodec Constructor Description RedisSentinelAsyncCommandsImpl(StatefulConnection<K,V> connection, RedisCodec<K,V> codec)RedisSentinelReactiveCommandsImpl(StatefulConnection<K,V> connection, RedisCodec<K,V> codec)StatefulRedisSentinelConnectionImpl(RedisChannelWriter writer, RedisCodec<K,V> codec, Duration timeout)
RedisAdvancedClusterAsyncCommandsImpl(StatefulRedisClusterConnection, RedisCodec).