Interface ConnectionCallback<A>


@PublicApi public interface ConnectionCallback<A>
Since:
3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(Connection connection)
    Execute a method that uses the connection passed.
  • Method Details

    • execute

      A execute(Connection connection)
      Execute a method that uses the connection passed.

      See TransactionalExecutor for allowed actions.

      Parameters:
      connection - guaranteed to be provided
      Returns:
      optional, may be Void