public class TaskProcessorRetryStrategy extends AbstractRetryStrategy implements PushTaskExecutor.PushTask
| Modifier and Type | Field and Description |
|---|---|
Runnable |
retryPushOperation_
retry the failed operation.
|
logger_, pushOperation_, pushSupplier_| Constructor and Description |
|---|
TaskProcessorRetryStrategy(IProxyPushSupplier pushSupplier,
PushOperation pushOperation,
TaskProcessor taskProcessor,
long backoutInterval) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
doPush() |
protected long |
getTimeToWait() |
protected void |
retryInternal() |
dispose, isFatalException, isRetryAllowed, remoteExceptionOccured, retrypublic final Runnable retryPushOperation_
public TaskProcessorRetryStrategy(IProxyPushSupplier pushSupplier, PushOperation pushOperation, TaskProcessor taskProcessor, long backoutInterval)
protected long getTimeToWait()
getTimeToWait in class AbstractRetryStrategyprotected void retryInternal()
throws RetryException
retryInternal in class AbstractRetryStrategyRetryExceptionpublic void doPush()
doPush in interface PushTaskExecutor.PushTaskpublic void cancel()
cancel in interface PushTaskExecutor.PushTaskCopyright © 2015 JacORB. All rights reserved.