public interface ConnectionCallback<T>
Modifier and Type | Method and Description |
---|---|
T |
doInConnection(Connection connection)
Execute any number of operations against the supplied OTP connection,
possibly returning a result.
|
T doInConnection(Connection connection) throws Exception
connection
- The connection.Exception
- We are not sure everything it throws.