Class PlanMap<K,C>
java.lang.Object
dev.engine_room.flywheel.lib.task.PlanMap<K,C>
- Type Parameters:
K- The key typeC- The context type
- All Implemented Interfaces:
Plan<C>,SimplyComposedPlan<C>
A plan that executes a dynamic list of plans in parallel.
The plans can be added/removed by association with a key object.
-
Constructor Details
-
PlanMap
public PlanMap()
-
-
Method Details
-
add
-
remove
-
clear
public void clear() -
execute
Description copied from interface:PlanSubmit this plan for execution.You must call
onCompletion.run()when the plan has completed execution.
-