Class RedisCommandsContainerBuilder


  • public class RedisCommandsContainerBuilder
    extends Object
    The binary version of container builder which helps abstraction of two env. - single instance or Redis Cluster.
    • Constructor Detail

      • RedisCommandsContainerBuilder

        public RedisCommandsContainerBuilder()
    • Method Detail

      • build

        public static RedisCommandsInstanceContainer build​(JedisPoolConfig config)
        Builds container for single Redis environment.
        Parameters:
        config - configuration for JedisPool
        Returns:
        container for single Redis environment
      • build

        public static RedisCommandsInstanceContainer build​(JedisClusterConfig config)
        Builds container for Redis Cluster environment.
        Parameters:
        config - configuration for JedisCluster
        Returns:
        container for Redis Cluster environment