Interface JdbcIO.RetryStrategy

All Superinterfaces:
Serializable
All Known Implementing Classes:
JdbcIO.DefaultRetryStrategy
Enclosing class:
JdbcIO
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 JdbcIO.RetryStrategy extends Serializable
An interface used to control if we retry the statements when a SQLException occurs. If apply(SQLException) returns true, JdbcIO.Write tries to replay the statements.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    apply(SQLException sqlException)
     
  • Method Details