Class BaseRedisDLockFactory

    • Field Detail

      • myOwnRedis

        protected boolean myOwnRedis
        Flag to mark if the Redis resource (e.g. Redis client pool) is created and handled by the factory.
    • Constructor Detail

      • BaseRedisDLockFactory

        public BaseRedisDLockFactory()
    • Method Detail

      • getRedisPassword

        public String getRedisPassword()
        Password to connect to Redis server/cluster.
        Returns:
      • setRedisPassword

        public BaseRedisDLockFactory setRedisPassword​(String redisPassword)
        Password to connect to Redis server/cluster.
        Parameters:
        redisPassword -
        Returns:
      • getJedisConnector

        protected com.github.ddth.commons.redis.JedisConnector getJedisConnector()
        Returns:
      • setJedisConnector

        public BaseRedisDLockFactory setJedisConnector​(com.github.ddth.commons.redis.JedisConnector jedisConnector)
        Parameters:
        jedisConnector -
        Returns:
      • buildJedisConnector

        protected abstract com.github.ddth.commons.redis.JedisConnector buildJedisConnector()
        Build a JedisConnector instance for my own use.
        Returns:
        Since:
        0.1.1.2