org.jacorb.notification.engine

Class AbstractRetryStrategy

public abstract class AbstractRetryStrategy extends Object implements RetryStrategy

Version: $Id: AbstractRetryStrategy.java,v 1.5 2005/08/21 13:30:16 alphonse.bendt Exp $

Author: Alphonse Bendt

Field Summary
protected Loggerlogger_
protected PushOperationpushOperation_
protected IProxyPushSupplierpushSupplier_
Constructor Summary
AbstractRetryStrategy(IProxyPushSupplier pushSupplier, PushOperation operation)
Method Summary
voiddispose()
protected abstract longgetTimeToWait()
static booleanisFatalException(Exception error)
protected booleanisRetryAllowed()
protected voidremoteExceptionOccured(Exception error)
voidretry()
protected abstract voidretryInternal()

Field Detail

logger_

protected final Logger logger_

pushOperation_

protected final PushOperation pushOperation_

pushSupplier_

protected final IProxyPushSupplier pushSupplier_

Constructor Detail

AbstractRetryStrategy

public AbstractRetryStrategy(IProxyPushSupplier pushSupplier, PushOperation operation)

Method Detail

dispose

public void dispose()

getTimeToWait

protected abstract long getTimeToWait()

isFatalException

public static boolean isFatalException(Exception error)

isRetryAllowed

protected boolean isRetryAllowed()

remoteExceptionOccured

protected void remoteExceptionOccured(Exception error)

retry

public final void retry()

retryInternal

protected abstract void retryInternal()