Package org.apache.cxf.ws.rm.manager
Class RetryPolicyType
java.lang.Object
org.apache.cxf.ws.rm.manager.RetryPolicyType
Java class for RetryPolicyType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="RetryPolicyType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="maxRetries" type="{http://www.w3.org/2001/XMLSchema}int" default="-1" />
<attribute name="interval" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" default="3000" />
<attribute name="algorithm" type="{http://www.w3.org/2001/XMLSchema}string" default="ExponentialBackoff" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe name of the interval adjustment algorithm.longThe time interval between each retry in milliseconds.intThe maximum number of retries of a message.booleanbooleanbooleanvoidsetAlgorithm(String value) Sets the value of the algorithm property.voidsetInterval(Long value) Sets the value of the interval property.voidsetMaxRetries(int value) Sets the value of the maxRetries property.voidvoid
-
Field Details
-
maxRetries
The maximum number of retries of a message. A negative value means the number is unbound. -
interval
The time interval between each retry in milliseconds. -
algorithm
The name of the interval adjustment algorithm. The default algorithm is ExponentialBackoff.
-
-
Constructor Details
-
RetryPolicyType
public RetryPolicyType()
-
-
Method Details
-
setInterval
Sets the value of the interval property.- Parameters:
value- allowed object isString- See Also:
-
isSetInterval
public boolean isSetInterval() -
setMaxRetries
public void setMaxRetries(int value) Sets the value of the maxRetries property. -
unsetMaxRetries
public void unsetMaxRetries() -
isSetMaxRetries
public boolean isSetMaxRetries() -
getMaxRetries
public int getMaxRetries()The maximum number of retries of a message. A negative value means the number is unbound. -
getInterval
public long getInterval()The time interval between each retry in milliseconds. -
setAlgorithm
Sets the value of the algorithm property. -
unsetAlgorithm
public void unsetAlgorithm() -
isSetAlgorithm
public boolean isSetAlgorithm() -
getAlgorithm
The name of the interval adjustment algorithm. The default algorithm is ExponentialBackoff.
-