public class ConnectNotifier extends Object implements RetryNotifier
ConnectionNotification
each time a retry attempt is made.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
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.
|
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–2018 MuleSoft, Inc.. All rights reserved.