T - Connection type.public abstract class WithConnection<T> extends Object
| Constructor and Description |
|---|
WithConnection(RedisConnectionPool<T> pool)
Performs connection handling and invokes the run-method with a valid Redis connection.
|
public WithConnection(RedisConnectionPool<T> pool)
pool - the connection pool.protected abstract void run(T connection)
connection - the connectionCopyright © 2016. All rights reserved.