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.api.retry
Interface RetryPolicyTemplate

All Known Implementing Classes:
  AbstractPolicyTemplate, NoRetryPolicyTemplate

    public interface RetryPolicyTemplate

A RetryPolicyTemplate creates a new `RetryPolicy` instance each time the retry goes into effect, thereby resetting any state the policy may have (counters, etc.) A `RetryNotifier` may be set in order to take action upon each retry attempt.

Method Summary
`RetryPolicy` | `createRetryInstance()`
`RetryContext` | `execute(RetryCallback callback, WorkManager workManager)`
`Map<Object,Object>` | `getMetaInfo()`
`RetryNotifier` | `getNotifier()`
`void` | `setMetaInfo(Map<Object,Object> metaInfo)`
`void` | `setNotifier(RetryNotifier retryNotifier)`

Method Detail

### createRetryInstance

    RetryPolicy createRetryInstance()

### getMetaInfo

    Map<Object,Object> getMetaInfo()

### setMetaInfo

    void setMetaInfo(Map<Object,Object> metaInfo)

### getNotifier

    RetryNotifier getNotifier()

### setNotifier

    void setNotifier(RetryNotifier retryNotifier)

### execute

    RetryContext execute(RetryCallback callback,
                         WorkManager workManager)
                         throws Exception

  Throws:
    `Exception`

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-2010 MuleSoft, Inc.. All Rights Reserved.