|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.soa.esb.services.jbpm.integration.msg.RetryExecutor
public class RetryExecutor
Executor responsible for checking for retry invocations. The DB service does this implicitly but we need to explicitly check for this during JMS.
Field Summary | |
---|---|
static java.lang.String |
RETRY_EXECUTOR
The lock name associated with the executor. |
Constructor Summary | |
---|---|
RetryExecutor(int idleInterval,
int maxIdleInterval,
int maxRetryJobs)
Create the retry executor thread. |
Method Summary | |
---|---|
static void |
handleSuspendedJob(Job job)
Process a suspended job. |
static void |
handleSuspendedTimer(Timer timer)
Process a suspended timer. |
void |
run()
Look for newly active suspended/retry jobs. |
void |
terminate()
Request a termination of the loop. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RETRY_EXECUTOR
Constructor Detail |
---|
public RetryExecutor(int idleInterval, int maxIdleInterval, int maxRetryJobs)
idleInterval
- The idle interval.maxIdleInterval
- The max idle interval.maxRetryJobs
- The max number of retry jobs.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
public void terminate()
public static void handleSuspendedJob(Job job)
job
- The suspended job.public static void handleSuspendedTimer(Timer timer)
timer
- The suspended timer.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |