Uses of Class
org.redisson.config.SentinelServersConfig
-
Uses of SentinelServersConfig in org.redisson.config
Modifier and TypeMethodDescriptionSentinelServersConfig.addSentinelAddress
(String... addresses) Add Redis Sentinel node address in host:port format.protected SentinelServersConfig
Config.getSentinelServersConfig()
SentinelServersConfig.setCheckSentinelsList
(boolean checkSentinelsList) Enables sentinels list check during Redisson startup.SentinelServersConfig.setCheckSlaveStatusWithSyncing
(boolean checkSlaveStatusWithSyncing) check node status from sentinel with 'master-link-status' flagSentinelServersConfig.setDatabase
(int database) Database index used for Redis connection Default is0
SentinelServersConfig.setMasterName
(String masterName) Master server name used by Redis Sentinel servers and master change monitoring task.Deprecated.SentinelServersConfig.setNatMapper
(NatMapper natMapper) Defines NAT mapper which maps Redis URI object.SentinelServersConfig.setScanInterval
(int scanInterval) Sentinel scan interval in millisecondsSentinelServersConfig.setSentinelPassword
(String sentinelPassword) Password required by the Redis Sentinel servers for authentication.SentinelServersConfig.setSentinelsDiscovery
(boolean sentinelsDiscovery) Enables sentinels discovery.SentinelServersConfig.setSentinelUsername
(String sentinelUsername) Username required by the Redis Sentinel servers for authentication.Config.useSentinelServers()
Init sentinel servers configuration.Modifier and TypeMethodDescriptionprotected void
Config.setSentinelServersConfig
(SentinelServersConfig sentinelConnectionConfig) -
Uses of SentinelServersConfig in org.redisson.connection
ModifierConstructorDescriptionSentinelConnectionManager
(SentinelServersConfig cfg, ServiceManager serviceManager)