All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.lettuce.core.masterreplica.package-info Maven / Gradle / Ivy

Go to download

Advanced and thread-safe Java Redis client for synchronous, asynchronous, and reactive usage. Supports Cluster, Sentinel, Pipelining, Auto-Reconnect, Codecs and much more.

The newest version!
/**
 * Client support for Redis Master/Replica setups. {@link io.lettuce.core.masterreplica.MasterReplica} supports self-managed,
 * Redis Sentinel-managed, AWS ElastiCache and Azure Redis managed Master/Replica setups.
 *
 * Connections can be obtained by providing the {@link io.lettuce.core.RedisClient}, a {@link io.lettuce.core.RedisURI} and a
 * {@link io.lettuce.core.codec.RedisCodec}.
 *
 * 
 *
 * RedisClient client = RedisClient.create();
 * StatefulRedisMasterReplicaConnection connection = MasterReplica.connect(client,
 *         RedisURI.create("redis://localhost"), StringCodec.UTF8);
 * // ...
 *
 * connection.close();
 * client.shutdown();
 * 
*/ package io.lettuce.core.masterreplica;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy