|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JobCommandExecutor
This interface allows clients to control how a job command is executed. This is useful when the server provides the command but the client provides the context (e.g. the client would like to execute the command synchronously rather than dispatching it to a job queue).
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Nested Class Summary | |
|---|---|
static class |
JobCommandExecutor.Default
Singleton implementation of the command executor interface that simply executes the command without any sort of enhancement. |
static class |
JobCommandExecutor.Inactive
Singleton implementation of the command executor interface that ignores any commands. |
| Method Summary | |
|---|---|
void |
execute(JobCommand command)
Execute the specified command, synchronously or asynchronously. |
void |
execute(JobCommand command,
String jobName)
Execute the specified command, synchronously or asynchronously. |
void |
execute(JobCommand command,
String jobName,
ISchedulingRule schedulingRule)
Execute the specified command, synchronously or asynchronously. |
| Method Detail |
|---|
void execute(JobCommand command)
Job for execution.
void execute(JobCommand command,
String jobName)
Job for execution.
void execute(JobCommand command,
String jobName,
ISchedulingRule schedulingRule)
Job for execution.
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||