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()
dispose in interface org.picocontainer.Disposableprotected boolean isRetryAllowed()
protected void remoteExceptionOccured(Exception error) throws RetryException
RetryExceptionpublic static boolean isFatalException(Exception error)
protected abstract long getTimeToWait()
public final void retry()
throws RetryException
retry in interface RetryStrategyRetryExceptionprotected abstract void retryInternal()
throws RetryException
RetryExceptionCopyright © 2015 JacORB. All rights reserved.