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 RetryNotifier

All Known Implementing Classes:
  ConnectNotifier, ConnectNotifier

    public interface RetryNotifier

This interface is a callback that allows actions to be performed after each retry attempt, such as firing notifications, logging, etc.

Method Summary
`void` | `onFailure(RetryContext context, Throwable e)` Called each time a retry attempt fails.
`void` | `onSuccess(RetryContext context)` Called when a retry attempt finally suceeds.

Method Detail

### onFailure

    void onFailure(RetryContext context,
                   Throwable e)

  Called each time a retry attempt fails.

### onSuccess

    void onSuccess(RetryContext context)

  Called when a retry attempt finally suceeds.

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.