public class ScheduleWorkExecutor extends Object implements WorkExecutor
Constructor and Description |
---|
ScheduleWorkExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
doExecute(WorkerContext work,
Executor executor)
This method must be implemented by sub-classes in order to provide the
relevant synchronization policy.
|
public void doExecute(WorkerContext work, Executor executor) throws javax.resource.spi.work.WorkException, InterruptedException
WorkExecutor
doExecute
in interface WorkExecutor
work
- Work to be executed.javax.resource.spi.work.WorkException
- Indicates that the work has
failed.InterruptedException
- Indicates that the thread in charge of the
execution of the specified work has been interrupted.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.