org.jacorb.notification.engine
Class WaitRetryStrategy
java.lang.Object
org.jacorb.notification.engine.RetryStrategy
org.jacorb.notification.engine.WaitRetryStrategy
- All Implemented Interfaces:
- Disposable
- public class WaitRetryStrategy
- extends RetryStrategy
- Version:
- $Id: WaitRetryStrategy.java,v 1.2 2004/05/06 12:39:59 nicolas Exp $
- Author:
- Alphonse Bendt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
WaitRetryStrategy
public WaitRetryStrategy(MessageConsumer messageConsumer,
PushOperation pushOperation)
WaitRetryStrategy
public WaitRetryStrategy(MessageConsumer messageConsumer,
PushOperation pushOperation,
long startingWaitTime,
long waitTimeIncrement)
getTimeToWait
protected long getTimeToWait()
- Specified by:
getTimeToWait
in class RetryStrategy
retry
public void retry()
throws RetryException
- Specified by:
retry
in class RetryStrategy
- Throws:
RetryException