Package com.atlassian.sal.api.rdbms
Interface ConnectionCallback<A>
@PublicApi
public interface ConnectionCallback<A>
Callback to be executed by
TransactionalExecutor.execute(ConnectionCallback)- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionexecute(Connection connection) Execute a method that uses theconnectionpassed.
-
Method Details
-
execute
Execute a method that uses theconnectionpassed.See
TransactionalExecutorfor allowed actions.- Parameters:
connection- guaranteed to be provided- Returns:
- optional, may be
Void
-