org.jacorb.notification.engine
Class AbstractRetryStrategy
java.lang.Object
org.jacorb.notification.engine.AbstractRetryStrategy
- All Implemented Interfaces:
- org.picocontainer.Disposable, Disposable, RetryStrategy
- Direct Known Subclasses:
- AlwaysDisposeRetryStrategy, TaskProcessorRetryStrategy, WaitRetryStrategy
- public abstract class AbstractRetryStrategy
- extends java.lang.Object
- implements RetryStrategy
- Version:
- $Id: AbstractRetryStrategy.java,v 1.5 2005/08/21 13:30:16 alphonse.bendt Exp $
- Author:
- Alphonse Bendt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger_
protected final org.apache.avalon.framework.logger.Logger logger_
pushOperation_
protected final PushOperation pushOperation_
pushSupplier_
protected final IProxyPushSupplier pushSupplier_
AbstractRetryStrategy
public AbstractRetryStrategy(IProxyPushSupplier pushSupplier,
PushOperation operation)
dispose
public void dispose()
- Specified by:
dispose
in interface org.picocontainer.Disposable
isRetryAllowed
protected boolean isRetryAllowed()
remoteExceptionOccured
protected void remoteExceptionOccured(java.lang.Exception error)
throws RetryException
- Throws:
RetryException
isFatalException
public static boolean isFatalException(java.lang.Exception error)
getTimeToWait
protected abstract long getTimeToWait()
retry
public final void retry()
throws RetryException
- Specified by:
retry
in interface RetryStrategy
- Throws:
RetryException
retryInternal
protected abstract void retryInternal()
throws RetryException
- Throws:
RetryException