public class ConnectNotifier extends Object implements RetryNotifier
ConnectionNotification
each time a retry attempt is made.Constructor and Description |
---|
ConnectNotifier() |
Modifier and Type | Method and Description |
---|---|
protected void |
fireConnectNotification(int action,
String description,
RetryContext context) |
void |
onFailure(RetryContext context,
Throwable e)
Called each time a retry attempt fails.
|
void |
onSuccess(RetryContext context)
Called when a retry attempt finally suceeds.
|
protected final transient Log logger
public void onSuccess(RetryContext context)
RetryNotifier
onSuccess
in interface RetryNotifier
public void onFailure(RetryContext context, Throwable e)
RetryNotifier
onFailure
in interface RetryNotifier
protected void fireConnectNotification(int action, String description, RetryContext context)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.