Fix Javadoc for FixedBackOff
This commit is contained in:
@@ -49,7 +49,7 @@ public class FixedBackOff implements BackOff {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance.
|
||||
* Create an instance with the supplied settings.
|
||||
* @param interval the interval between two attempts
|
||||
* @param maxAttempts the maximum number of attempts
|
||||
*/
|
||||
@@ -74,14 +74,14 @@ public class FixedBackOff implements BackOff {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the maximum number of attempts in milliseconds.
|
||||
* Set the maximum number of attempts.
|
||||
*/
|
||||
public void setMaxAttempts(long maxAttempts) {
|
||||
this.maxAttempts = maxAttempts;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the maximum number of attempts in milliseconds.
|
||||
* Return the maximum number of attempts.
|
||||
*/
|
||||
public long getMaxAttempts() {
|
||||
return this.maxAttempts;
|
||||
|
||||
Reference in New Issue
Block a user