public interface JobExecuteContext
AbstractJobContainer
to execute the Job
.Modifier and Type | Method and Description |
---|---|
FlowFuture |
doFlow(FlowMetaData<?> flowMetaData,
Object parameter)
Invokes the
JobSequence for the input FlowMetaData . |
void |
joinFlow(FlowFuture flowFuture,
long timeout,
Object token)
Joins on the
JobSequence for the FlowFuture . |
void |
setJobComplete(boolean isComplete)
Specifies whether the job is complete.
|
void setJobComplete(boolean isComplete)
isComplete
- true
if complete.void joinFlow(FlowFuture flowFuture, long timeout, Object token)
JobSequence
for the FlowFuture
.flowFuture
- FlowFuture
of the JobSequence
to join.timeout
- Timeout in milliseconds for the JobSequence
join.token
- JobSequence
join token.FlowFuture doFlow(FlowMetaData<?> flowMetaData, Object parameter)
JobSequence
for the input FlowMetaData
.flowMetaData
- FlowMetaData
.parameter
- Parameter for the JobSequence
.FlowFuture
of the JobSequence
.Copyright © 2005–2016. All rights reserved.