public class DefaultSessionCallback<T> extends Object implements org.springframework.data.redis.core.SessionCallback<T>
| Constructor and Description |
|---|
DefaultSessionCallback(SessionCallbackX<T> sessionCallbackX) |
| Modifier and Type | Method and Description |
|---|---|
<K,V> T |
execute(org.springframework.data.redis.core.RedisOperations<K,V> operations)
Executes all the given operations inside the same session.
|
public DefaultSessionCallback(SessionCallbackX<T> sessionCallbackX)
public <K,V> T execute(org.springframework.data.redis.core.RedisOperations<K,V> operations) throws org.springframework.dao.DataAccessException
execute in interface org.springframework.data.redis.core.SessionCallback<T>operations - Redis operationsorg.springframework.dao.DataAccessExceptionCopyright © 2021. All rights reserved.