Interface RetriableConnection.ConnectionFunction<T>

Enclosing class:
RetriableConnection
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface RetriableConnection.ConnectionFunction<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    Performs this operation on the given connection.
  • Method Details

    • accept

      T accept(Connection conn) throws SQLException
      Performs this operation on the given connection.
      Parameters:
      conn - the input connection
      Returns:
      result of the operation
      Throws:
      SQLException