public abstract class AbstractRetryStrategy extends Object implements RetryStrategy
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger_ |
protected PushOperation |
pushOperation_ |
protected IProxyPushSupplier |
pushSupplier_ |
Constructor and Description |
---|
AbstractRetryStrategy(IProxyPushSupplier pushSupplier,
PushOperation operation) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
protected abstract long |
getTimeToWait() |
static boolean |
isFatalException(Exception error) |
protected boolean |
isRetryAllowed() |
protected void |
remoteExceptionOccured(Exception error) |
void |
retry() |
protected abstract void |
retryInternal() |
protected final org.slf4j.Logger logger_
protected final PushOperation pushOperation_
protected final IProxyPushSupplier pushSupplier_
public AbstractRetryStrategy(IProxyPushSupplier pushSupplier, PushOperation operation)
public void dispose()
protected boolean isRetryAllowed()
protected void remoteExceptionOccured(Exception error) throws RetryException
RetryException
public static boolean isFatalException(Exception error)
protected abstract long getTimeToWait()
public final void retry() throws RetryException
retry
in interface RetryStrategy
RetryException
protected abstract void retryInternal() throws RetryException
RetryException
Copyright © 2017 JacORB. All rights reserved.