Class RedisClusterClientBundle<K,​V,​T extends io.dropwizard.core.Configuration>

  • All Implemented Interfaces:
    io.dropwizard.core.ConfiguredBundle<T>

    public abstract class RedisClusterClientBundle<K,​V,​T extends io.dropwizard.core.Configuration>
    extends Object
    implements io.dropwizard.core.ConfiguredBundle<T>
    • Constructor Detail

      • RedisClusterClientBundle

        public RedisClusterClientBundle()
    • Method Detail

      • initialize

        public void initialize​(io.dropwizard.core.setup.Bootstrap<?> bootstrap)
        Specified by:
        initialize in interface io.dropwizard.core.ConfiguredBundle<K>
      • run

        public void run​(T configuration,
                        io.dropwizard.core.setup.Environment environment)
                 throws Exception
        Specified by:
        run in interface io.dropwizard.core.ConfiguredBundle<K>
        Throws:
        Exception
      • getClusterConnection

        public io.lettuce.core.cluster.api.StatefulRedisClusterConnection<K,​V> getClusterConnection()