-
Method Summary
Get next operation from agenda and remove operation from the queue.
boolean
Returns whether there currently are operations planned on the agenda.
<V> void
Plan an operation for a future execution
void
Plan operation for execution
Methods inherited from interface org.flowable.common.engine.impl.interceptor.Session
close, flush
-
Method Details
-
isEmpty
boolean isEmpty()
Returns whether there currently are operations planned on the agenda.
-
getNextOperation
Get next operation from agenda and remove operation from the queue.
- Returns:
- next operation from the queue
throws
FlowableException
in the case when agenda is empty
-
planOperation
Plan operation for execution
- Parameters:
operation
- operation to run
-
planFutureOperation
Plan an operation for a future execution
- Type Parameters:
V
- the type of the value the future returns
- Parameters:
future
- the future that will return the value
completeAction
- the action that should be invoked once the future completes