public class RetryConfig extends Object
Java class for RetryConfig complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RetryConfig"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="backoffFactor" type="{http://www.w3.org/2001/XMLSchema}double"/> <element name="initialDelay" type="{http://www.w3.org/2001/XMLSchema}long"/> <element name="maxDelay" type="{http://www.w3.org/2001/XMLSchema}long"/> <element name="maxRetries" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected double |
backoffFactor |
protected long |
initialDelay |
protected long |
maxDelay |
protected BigInteger |
maxRetries |
Constructor and Description |
---|
RetryConfig() |
Modifier and Type | Method and Description |
---|---|
double |
getBackoffFactor()
Gets the value of the backoffFactor property.
|
long |
getInitialDelay()
Gets the value of the initialDelay property.
|
long |
getMaxDelay()
Gets the value of the maxDelay property.
|
BigInteger |
getMaxRetries()
Gets the value of the maxRetries property.
|
void |
setBackoffFactor(double value)
Sets the value of the backoffFactor property.
|
void |
setInitialDelay(long value)
Sets the value of the initialDelay property.
|
void |
setMaxDelay(long value)
Sets the value of the maxDelay property.
|
void |
setMaxRetries(BigInteger value)
Sets the value of the maxRetries property.
|
protected double backoffFactor
protected long initialDelay
protected long maxDelay
protected BigInteger maxRetries
public double getBackoffFactor()
public void setBackoffFactor(double value)
public long getInitialDelay()
public void setInitialDelay(long value)
public long getMaxDelay()
public void setMaxDelay(long value)
public BigInteger getMaxRetries()
BigInteger
public void setMaxRetries(BigInteger value)
value
- allowed object is
BigInteger
Copyright © 2014 myGrid. All rights reserved.