Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`protected` | `PolicyStatus()`
`protected` | `PolicyStatus(boolean exhausted, Throwable throwable)`

Method Summary
`Throwable` | `getThrowable()`
`boolean` | `isExhausted()`
`boolean` | `isOk()`
`static PolicyStatus` | `policyExhausted(Throwable t)`
`static PolicyStatus` | `policyOk()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PolicyStatus

    protected PolicyStatus()

### PolicyStatus

    protected PolicyStatus(boolean exhausted,
                           Throwable throwable)

Method Detail

### policyExhausted

    public static PolicyStatus policyExhausted(Throwable t)

### policyOk

    public static PolicyStatus policyOk()

### isExhausted

    public boolean isExhausted()

### isOk

    public boolean isOk()

### getThrowable

    public Throwable getThrowable()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.