Package | Description |
---|---|
org.redisson.config | |
org.redisson.connection | |
org.redisson.connection.balancer | |
org.redisson.connection.pool | |
org.redisson.pubsub |
Modifier and Type | Method and Description |
---|---|
MasterSlaveServersConfig |
MasterSlaveServersConfig.addSlaveAddress(String... addresses)
Add Redis slave server address.
|
MasterSlaveServersConfig |
MasterSlaveServersConfig.addSlaveAddress(URI slaveAddress) |
MasterSlaveServersConfig |
MasterSlaveServersConfig.setDatabase(int database)
Database index used for Redis connection
Default is
0 |
MasterSlaveServersConfig |
MasterSlaveServersConfig.setMasterAddress(String masterAddress)
Set Redis master server address.
|
MasterSlaveServersConfig |
MasterSlaveServersConfig.setMasterAddress(URI masterAddress) |
MasterSlaveServersConfig |
Config.useMasterSlaveServers()
Init master/slave servers configuration.
|
Modifier and Type | Field and Description |
---|---|
protected MasterSlaveServersConfig |
MasterSlaveConnectionManager.config |
Modifier and Type | Method and Description |
---|---|
protected MasterSlaveServersConfig |
SentinelConnectionManager.create(BaseMasterSlaveServersConfig<?> cfg) |
protected MasterSlaveServersConfig |
ReplicatedConnectionManager.create(BaseMasterSlaveServersConfig<?> cfg) |
protected MasterSlaveServersConfig |
MasterSlaveConnectionManager.create(BaseMasterSlaveServersConfig<?> cfg) |
MasterSlaveServersConfig |
MasterSlaveEntry.getConfig() |
MasterSlaveServersConfig |
MasterSlaveConnectionManager.getConfig() |
MasterSlaveServersConfig |
ConnectionManager.getConfig() |
MasterSlaveServersConfig |
ClientConnectionsEntry.getConfig() |
Modifier and Type | Method and Description |
---|---|
protected MasterSlaveEntry |
SentinelConnectionManager.createMasterSlaveEntry(MasterSlaveServersConfig config,
HashSet<ClusterSlotRange> slots) |
protected MasterSlaveEntry |
MasterSlaveConnectionManager.createMasterSlaveEntry(MasterSlaveServersConfig config,
HashSet<ClusterSlotRange> slots) |
protected void |
MasterSlaveConnectionManager.initTimer(MasterSlaveServersConfig config) |
Constructor and Description |
---|
IdleConnectionWatcher(ConnectionManager manager,
MasterSlaveServersConfig config) |
MasterSlaveConnectionManager(MasterSlaveServersConfig cfg,
Config config,
UUID id) |
MasterSlaveEntry(Set<ClusterSlotRange> slotRanges,
ConnectionManager connectionManager,
MasterSlaveServersConfig config) |
SingleEntry(Set<ClusterSlotRange> slotRanges,
ConnectionManager connectionManager,
MasterSlaveServersConfig config) |
Constructor and Description |
---|
LoadBalancerManager(MasterSlaveServersConfig config,
ConnectionManager connectionManager,
MasterSlaveEntry entry) |
Constructor and Description |
---|
MasterConnectionPool(MasterSlaveServersConfig config,
ConnectionManager connectionManager,
MasterSlaveEntry masterSlaveEntry) |
MasterPubSubConnectionPool(MasterSlaveServersConfig config,
ConnectionManager connectionManager,
MasterSlaveEntry masterSlaveEntry) |
PubSubConnectionPool(MasterSlaveServersConfig config,
ConnectionManager connectionManager,
MasterSlaveEntry masterSlaveEntry) |
SlaveConnectionPool(MasterSlaveServersConfig config,
ConnectionManager connectionManager,
MasterSlaveEntry masterSlaveEntry) |
Constructor and Description |
---|
PublishSubscribeService(ConnectionManager connectionManager,
MasterSlaveServersConfig config) |
Copyright © 2014–2018 The Redisson Project. All rights reserved.