Scheduler.JobDetails, Scheduler.JobInfo, Scheduler.JobProcessor, Scheduler.JobProcessorException, Scheduler.JobType, Scheduler.MapSerializableRunnable, Scheduler.Synchronizer| Modifier and Type | Field and Description |
|---|---|
static java.lang.ThreadLocal<org.apache.ode.bpel.engine.replayer.ReplayerScheduler.TaskElement> |
currentTaskElement |
Replayer |
replayer |
| Constructor and Description |
|---|
ReplayerScheduler() |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireTransactionLocks() |
void |
cancelJob(java.lang.String jobId) |
<T> java.util.concurrent.Future<T> |
execIsolatedTransaction(java.util.concurrent.Callable<T> transaction) |
<T> T |
execTransaction(java.util.concurrent.Callable<T> transaction) |
<T> T |
execTransaction(java.util.concurrent.Callable<T> transaction,
int timeout) |
boolean |
isTransacted() |
void |
registerSynchronizer(Scheduler.Synchronizer synch) |
java.lang.String |
scheduleMapSerializableRunnable(Scheduler.MapSerializableRunnable runnable,
java.util.Date when) |
java.lang.String |
schedulePersistedJob(Scheduler.JobDetails jobDetail,
java.util.Date when1) |
void |
scheduleReplayerJob(java.util.concurrent.Callable action,
java.util.Date when,
ReplayerBpelRuntimeContextImpl runtimeContext) |
java.lang.String |
scheduleVolatileJob(boolean transacted,
Scheduler.JobDetails jobDetail) |
java.lang.String |
scheduleVolatileJob(boolean transacted,
Scheduler.JobDetails jobDetail,
java.util.Date when) |
void |
setJobProcessor(Scheduler.JobProcessor processor) |
void |
setPolledRunnableProcesser(Scheduler.JobProcessor polledRunnableProcessor) |
void |
setRollbackOnly() |
void |
shutdown() |
void |
start() |
void |
startReplaying(Replayer replayer) |
void |
stop() |
public Replayer replayer
public static java.lang.ThreadLocal<org.apache.ode.bpel.engine.replayer.ReplayerScheduler.TaskElement> currentTaskElement
public void scheduleReplayerJob(java.util.concurrent.Callable action,
java.util.Date when,
ReplayerBpelRuntimeContextImpl runtimeContext)
public void cancelJob(java.lang.String jobId)
throws ContextException
cancelJob in interface SchedulerContextExceptionpublic <T> T execTransaction(java.util.concurrent.Callable<T> transaction)
throws java.lang.Exception,
ContextException
execTransaction in interface Schedulerjava.lang.ExceptionContextExceptionpublic <T> T execTransaction(java.util.concurrent.Callable<T> transaction,
int timeout)
throws java.lang.Exception,
ContextException
execTransaction in interface Schedulerjava.lang.ExceptionContextExceptionpublic boolean isTransacted()
isTransacted in interface Schedulerpublic void registerSynchronizer(Scheduler.Synchronizer synch) throws ContextException
registerSynchronizer in interface SchedulerContextExceptionpublic void setJobProcessor(Scheduler.JobProcessor processor) throws ContextException
setJobProcessor in interface SchedulerContextExceptionpublic void setRollbackOnly()
throws java.lang.Exception
setRollbackOnly in interface Schedulerjava.lang.Exceptionpublic void startReplaying(Replayer replayer) throws java.lang.Exception
java.lang.Exceptionpublic <T> java.util.concurrent.Future<T> execIsolatedTransaction(java.util.concurrent.Callable<T> transaction)
throws java.lang.Exception,
ContextException
execIsolatedTransaction in interface Schedulerjava.lang.ExceptionContextExceptionpublic java.lang.String scheduleMapSerializableRunnable(Scheduler.MapSerializableRunnable runnable, java.util.Date when) throws ContextException
scheduleMapSerializableRunnable in interface SchedulerContextExceptionpublic java.lang.String schedulePersistedJob(Scheduler.JobDetails jobDetail, java.util.Date when1) throws ContextException
schedulePersistedJob in interface SchedulerContextExceptionpublic void setPolledRunnableProcesser(Scheduler.JobProcessor polledRunnableProcessor)
setPolledRunnableProcesser in interface Schedulerpublic java.lang.String scheduleVolatileJob(boolean transacted,
Scheduler.JobDetails jobDetail,
java.util.Date when)
throws ContextException
scheduleVolatileJob in interface SchedulerContextExceptionpublic java.lang.String scheduleVolatileJob(boolean transacted,
Scheduler.JobDetails jobDetail)
throws ContextException
scheduleVolatileJob in interface SchedulerContextExceptionpublic void acquireTransactionLocks()
acquireTransactionLocks in interface SchedulerCopyright © 2021 WSO2. All Rights Reserved.