org.mule.retry.async
Class RetryWorker
java.lang.Object
org.mule.retry.async.RetryWorker
- All Implemented Interfaces:
- Runnable, javax.resource.spi.work.Work
public class RetryWorker
- extends Object
- implements javax.resource.spi.work.Work
A Work implementation used when executing a RetryPolicyTemplate in a separate
thread.
|
Field Summary |
protected org.apache.commons.logging.Log |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final transient org.apache.commons.logging.Log logger
RetryWorker
public RetryWorker(RetryPolicyTemplate delegate,
RetryCallback callback,
WorkManager workManager)
RetryWorker
public RetryWorker(RetryPolicyTemplate delegate,
RetryCallback callback,
WorkManager workManager,
Latch startLatch)
release
public void release()
- Specified by:
release in interface javax.resource.spi.work.Work
run
public void run()
- Specified by:
run in interface Runnable
getException
public Exception getException()
getRetryContext
public FutureRetryContext getRetryContext()
Copyright © 2003-2013 MuleSoft, Inc.. All Rights Reserved.