Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.data.redis.core
Interface SessionCallback<T>

    public interface SessionCallback<T>

Callback executing all operations against a surrogate 'session' (basically against the same underlying Redis connection). Allows 'transactions' to take place through the use of multi/discard/exec/watch/unwatch commands.

Method Summary
`
`<K,V> T`
` | `execute(RedisOperations<K,V> operations)` Executes all the given operations inside the same session.

Method Detail

### execute

    <K,V> T execute(RedisOperations<K,V> operations)
              throws DataAccessException

  Executes all the given operations inside the same session.

  Parameters:
    `operations` - Redis operations
  Returns:
    return value
  Throws:
    `DataAccessException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD