T - Connection type.ConnectionPoolSupport.@Deprecated public abstract class WithConnection<T> extends Object
| Constructor and Description |
|---|
WithConnection(RedisConnectionPool<T> pool)
Deprecated.
Performs connection handling and invokes the run-method with a valid Redis connection.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
run(T connection)
Deprecated.
Execution method.
|
public WithConnection(RedisConnectionPool<T> pool)
pool - the connection pool.protected abstract void run(T connection)
connection - the connectionCopyright © 2018 lettuce.io. All rights reserved.