Package com.tnsai.metadata
Class RoleSpecReader.RoleSpec.RetryMeta
java.lang.Object
com.tnsai.metadata.RoleSpecReader.RoleSpec.RetryMeta
- Enclosing class:
RoleSpecReader.RoleSpec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongintlongdoublebooleanisJitter()voidsetBackoffMs(long backoffMs) voidsetJitter(boolean jitter) voidsetMaxAttempts(int maxAttempts) voidsetMaxBackoffMs(long maxBackoffMs) voidsetMultiplier(double multiplier)
-
Constructor Details
-
RetryMeta
public RetryMeta()
-
-
Method Details
-
getMaxAttempts
public int getMaxAttempts() -
setMaxAttempts
public void setMaxAttempts(int maxAttempts) -
getBackoffMs
public long getBackoffMs() -
setBackoffMs
public void setBackoffMs(long backoffMs) -
getMultiplier
public double getMultiplier() -
setMultiplier
public void setMultiplier(double multiplier) -
getMaxBackoffMs
public long getMaxBackoffMs() -
setMaxBackoffMs
public void setMaxBackoffMs(long maxBackoffMs) -
isJitter
public boolean isJitter() -
setJitter
public void setJitter(boolean jitter)
-