Uses of Class
org.redisson.config.SentinelServersConfig
Packages that use SentinelServersConfig
-
Uses of SentinelServersConfig in org.redisson.config
Methods in org.redisson.config that return SentinelServersConfigModifier 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.Methods in org.redisson.config with parameters of type SentinelServersConfigModifier and TypeMethodDescriptionprotected void
Config.setSentinelServersConfig
(SentinelServersConfig sentinelConnectionConfig) -
Uses of SentinelServersConfig in org.redisson.connection
Constructors in org.redisson.connection with parameters of type SentinelServersConfigModifierConstructorDescriptionSentinelConnectionManager
(SentinelServersConfig cfg, ServiceManager serviceManager)