Package io.dropwizard.redis
Class RedisClientBundle<K,V,T extends io.dropwizard.core.Configuration>
- java.lang.Object
-
- io.dropwizard.redis.RedisClientBundle<K,V,T>
-
- All Implemented Interfaces:
io.dropwizard.core.ConfiguredBundle<T>
public abstract class RedisClientBundle<K,V,T extends io.dropwizard.core.Configuration> extends Object implements io.dropwizard.core.ConfiguredBundle<T>
-
-
Constructor Summary
Constructors Constructor Description RedisClientBundle()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description io.lettuce.core.api.StatefulRedisConnection<K,V>getConnection()abstract RedisClientFactory<K,V>getRedisClientFactory(T configuration)voidinitialize(io.dropwizard.core.setup.Bootstrap<?> bootstrap)voidrun(T configuration, io.dropwizard.core.setup.Environment environment)
-
-
-
Method Detail
-
initialize
public void initialize(io.dropwizard.core.setup.Bootstrap<?> bootstrap)
- Specified by:
initializein interfaceio.dropwizard.core.ConfiguredBundle<K>
-
run
public void run(T configuration, io.dropwizard.core.setup.Environment environment) throws Exception
-
getRedisClientFactory
public abstract RedisClientFactory<K,V> getRedisClientFactory(T configuration)
-
-