org.mule.retry
Class PolicyStatus
java.lang.Object
org.mule.retry.PolicyStatus
public class PolicyStatus
- extends Object
Indicates the current state of a RetryPolicy
- ok: The policy is active
- exhausted: The policy has run through the actions for the policy
For example, a RetryPolicy may have a RetryCount - how many times the policy can be invoked.
Once the retryCount has been reached, the policy is exhausted and cannot be used again.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyStatus
protected PolicyStatus()
PolicyStatus
protected PolicyStatus(boolean exhausted,
Throwable throwable)
policyExhausted
public static PolicyStatus policyExhausted(Throwable t)
policyOk
public static PolicyStatus policyOk()
isExhausted
public boolean isExhausted()
isOk
public boolean isOk()
getThrowable
public Throwable getThrowable()
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.