Class JdbcIO.RetryConfiguration

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    JdbcIO

    public abstract static class JdbcIO.RetryConfiguration
    extends java.lang.Object
    implements java.io.Serializable
    Builder used to help with retry configuration for JdbcIO. The retry configuration accepts maxAttempts and maxDuration for FluentBackoff.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static JdbcIO.RetryConfiguration create​(int maxAttempts, @Nullable org.joda.time.Duration maxDuration, @Nullable org.joda.time.Duration initialDuration)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RetryConfiguration

        public RetryConfiguration()
    • Method Detail

      • create

        public static JdbcIO.RetryConfiguration create​(int maxAttempts,
                                                       @Nullable org.joda.time.Duration maxDuration,
                                                       @Nullable org.joda.time.Duration initialDuration)