Interface ExecutionTemplate
-
- All Known Implementing Classes:
CockroachRetryingTransactionalExecutionTemplate,PlainExecutionTemplate,TableLockingExecutionTemplate,TransactionalExecutionTemplate
public interface ExecutionTemplateSpring-like template for executing operations in the context of a database connection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Texecute(Callable<T> callback)Executes this callback within the context of the connection
-
-
-
Method Detail
-
execute
<T> T execute(Callable<T> callback)
Executes this callback within the context of the connection- Parameters:
callback- The callback to execute.- Returns:
- The result of the callback.
-
-