File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed
operator-framework-core/src/main/java/io/javaoperatorsdk/operator Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ public interface RetryConfiguration {
66
77 int DEFAULT_MAX_ATTEMPTS = 5 ;
88 long DEFAULT_INITIAL_INTERVAL = 2000L ;
9-
109 double DEFAULT_MULTIPLIER = 1.5D ;
1110
1211 default int getMaxAttempts () {
Original file line number Diff line number Diff line change 33import io .javaoperatorsdk .operator .api .config .RetryConfiguration ;
44
55public class GenericRetry implements Retry {
6-
7- public static final int DEFAULT_MAX_ATTEMPTS = 5 ;
8- public static final long DEFAULT_INITIAL_INTERVAL = 2000L ;
9- public static final double DEFAULT_MULTIPLIER = 1.5D ;
10-
116 private int maxAttempts = DEFAULT_MAX_ATTEMPTS ;
127 private long initialInterval = DEFAULT_INITIAL_INTERVAL ;
138 private double intervalMultiplier = DEFAULT_MULTIPLIER ;
Original file line number Diff line number Diff line change 11package io .javaoperatorsdk .operator .processing .retry ;
22
3- public interface Retry {
3+ import io .javaoperatorsdk .operator .api .config .RetryConfiguration ;
4+
5+ public interface Retry extends RetryConfiguration {
46
57 RetryExecution initExecution ();
68}
You can’t perform that action at this time.
0 commit comments