Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line numberDiff line numberDiff line change
Expand Up@@ -54,6 +54,12 @@ public class IntervalBoundedExponentialBackOff implements BackOff {
private final long initialIntervalMillis;
private int currentAttempt;

// BEAM-168: https://issues.apache.org/jira/browse/BEAM-168
@Deprecated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a comment about why this is around and deprecated?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

public IntervalBoundedExponentialBackOff(int maximumIntervalMillis, long initialIntervalMillis) {
this((long) maximumIntervalMillis, initialIntervalMillis);
}

public IntervalBoundedExponentialBackOff(long maximumIntervalMillis, long initialIntervalMillis) {
Preconditions.checkArgument(
maximumIntervalMillis > 0, "Maximum interval must be greater than zero.");
Expand Down