org.jacorb.notification.engine

Class TaskProcessorRetryStrategy

public class TaskProcessorRetryStrategy extends AbstractRetryStrategy implements PushTaskExecutor.PushTask

Version: $Id: TaskProcessorRetryStrategy.java,v 1.15 2006/03/07 19:23:47 alphonse.bendt Exp $

Author: Alphonse Bendt

Field Summary
RunnableretryPushOperation_
retry the failed operation. schedule the retry for delivery.
Constructor Summary
TaskProcessorRetryStrategy(IProxyPushSupplier pushSupplier, PushOperation pushOperation, TaskProcessor taskProcessor, long backoutInterval)
Method Summary
voidcancel()
voiddoPush()
protected longgetTimeToWait()
protected voidretryInternal()

Field Detail

retryPushOperation_

public final Runnable retryPushOperation_
retry the failed operation. schedule the retry for delivery.

Constructor Detail

TaskProcessorRetryStrategy

public TaskProcessorRetryStrategy(IProxyPushSupplier pushSupplier, PushOperation pushOperation, TaskProcessor taskProcessor, long backoutInterval)

Method Detail

cancel

public void cancel()

doPush

public void doPush()

getTimeToWait

protected long getTimeToWait()

retryInternal

protected void retryInternal()