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

io.lettuce.core.masterslave.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/Slave setups. {@link io.lettuce.core.masterslave.MasterSlave} supports self-managed, Redis
 * Sentinel-managed, AWS ElastiCache and Azure Redis managed Master/Slave 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();
 * StatefulRedisMasterSlaveConnection connection = MasterSlave.connect(client,
 *         RedisURI.create("redis://localhost"), StringCodec.UTF8);
 * // ...
 *
 * connection.close();
 * client.shutdown();
 * 
* * @deprecated will be moved to {@code masterreplica} package with version 6. */ package io.lettuce.core.masterslave;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy