org.jacorb.notification.engine
Class WaitRetryStrategy

java.lang.Object
  extended byorg.jacorb.notification.engine.AbstractRetryStrategy
      extended byorg.jacorb.notification.engine.WaitRetryStrategy
All Implemented Interfaces:
org.picocontainer.Disposable, Disposable, RetryStrategy

public class WaitRetryStrategy
extends AbstractRetryStrategy

Version:
$Id: WaitRetryStrategy.java,v 1.7 2005/08/21 13:30:16 alphonse.bendt Exp $
Author:
Alphonse Bendt

Field Summary
static long WAIT_INCREMENT_DEFAULT
           
static long WAIT_TIME_DEFAULT
           
 
Fields inherited from class org.jacorb.notification.engine.AbstractRetryStrategy
logger_, pushOperation_, pushSupplier_
 
Constructor Summary
WaitRetryStrategy(IProxyPushSupplier pushSupplier, PushOperation pushOperation)
           
WaitRetryStrategy(IProxyPushSupplier pushSupplier, PushOperation pushOperation, long startingWaitTime, long waitTimeIncrement)
           
 
Method Summary
protected  long getTimeToWait()
           
protected  void retryInternal()
           
 
Methods inherited from class org.jacorb.notification.engine.AbstractRetryStrategy
dispose, isFatalException, isRetryAllowed, remoteExceptionOccured, retry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WAIT_TIME_DEFAULT

public static final long WAIT_TIME_DEFAULT
See Also:
Constant Field Values

WAIT_INCREMENT_DEFAULT

public static final long WAIT_INCREMENT_DEFAULT
See Also:
Constant Field Values
Constructor Detail

WaitRetryStrategy

public WaitRetryStrategy(IProxyPushSupplier pushSupplier,
                         PushOperation pushOperation)

WaitRetryStrategy

public WaitRetryStrategy(IProxyPushSupplier pushSupplier,
                         PushOperation pushOperation,
                         long startingWaitTime,
                         long waitTimeIncrement)
Method Detail

getTimeToWait

protected long getTimeToWait()
Specified by:
getTimeToWait in class AbstractRetryStrategy

retryInternal

protected void retryInternal()
                      throws RetryException
Specified by:
retryInternal in class AbstractRetryStrategy
Throws:
RetryException