src/main/java/software/amazon/qldb/RetryPolicy.java
public static RetryPolicy none() {
        return RetryPolicy.builder()
                          .maxRetries(0)
                          .backoffStrategy(new DefaultQldbTransactionBackoffStrategy())
                          .build();
    }
/**
     * Factory method to create a RetryPolicy that will not retry.
     *
     * @return A retry policy instance
     */
Factory method to create a RetryPolicy that will not retry.
@return A retry policy instance
Factory method to create a RetryPolicy that will not retry . @return A retry policy instance
public static RetryPolicy none() {
        return RetryPolicy.builder()
                          .maxRetries(0)
                          .backoffStrategy(new DefaultQldbTransactionBackoffStrategy())
                          .build();
    }
public static RetryPolicy none ( ) { return RetryPolicy . builder ( ) . maxRetries ( 0 ) . backoffStrategy ( new DefaultQldbTransactionBackoffStrategy ( ) ) . build ( ) ; }
Factory method to create a RetryPolicy that will not retry.
Factory method to create a RetryPolicy that will not retry .