Package | Description |
---|---|
io.parallec.core |
Main package, including most user-facing classes such as the ParallelClient,
ParallelTask etc.
|
io.parallec.core.actor |
Actors to execute parallel task and return responses.
|
io.parallec.core.actor.message |
Actor messages.
|
io.parallec.core.commander.workflow |
Work flow and variable replacement utilities.
|
io.parallec.core.task | |
io.parallec.core.util |
Utility functions.
|
Modifier and Type | Method and Description |
---|---|
ParallelTask |
ParallelTaskBuilder.execute(ParallecResponseHandler handler)
key function.
|
Modifier and Type | Field and Description |
---|---|
protected ParallelTask |
ExecutionManager.task
The parallel task.
|
Constructor and Description |
---|
ExecutionManager(ParallelTask task)
Instantiates a new command manager.
|
Constructor and Description |
---|
InitialRequestToManager(ParallelTask parallelTask)
Instantiates a new initial request to manager with parallel task
|
Modifier and Type | Method and Description |
---|---|
void |
InternalDataProvider.genNodeDataMap(ParallelTask task)
Generate node data map.
|
void |
VarReplacementProvider.updateRequestByAddingReplaceVarPair(ParallelTask task,
java.lang.String replaceVarKey,
java.lang.String replaceVarValue)
GENERIC!!! HELPER FUNCION FOR REPLACEMENT
update the var: DYNAMIC REPLACEMENT of VAR.
|
void |
VarReplacementProvider.updateRequestByAddingReplaceVarPairNodeSpecific(ParallelTask task,
java.util.Map<java.lang.String,StrStrMap> replacementVarMapNodeSpecific)
Will change replacementVarMapNodeSpecific according to each node
specifically
With KEY set as NA; will not run the command ONLY if the NA is
the last replacement; note in this logic; when it is not NA; will set AS
True.
|
void |
VarReplacementProvider.updateRequestWithReplacement(ParallelTask task,
boolean useReplacementVarMap,
java.util.Map<java.lang.String,java.lang.String> replacementVarMap,
boolean useReplacementVarMapNodeSpecific,
java.util.Map<java.lang.String,StrStrMap> replacementVarMapNodeSpecific)
20130916: add node specific replacement Var Map; replacementVarMap VS.
|
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ConcurrentHashMap<java.lang.String,ParallelTask> |
ParallelTaskManager.inprogressTaskMap
The inprogress task map.
|
private java.util.Queue<ParallelTask> |
ParallelTaskManager.waitQ
The wait q.
|
Modifier and Type | Method and Description |
---|---|
ParallelTask |
ParallelTaskManager.getTaskFromInProgressMap(java.lang.String jobId)
Gets the task from in progress map.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,ParallelTask> |
ParallelTaskManager.getInprogressTaskMap()
Gets the inprogress task map.
|
java.util.Queue<ParallelTask> |
ParallelTaskManager.getWaitQ()
Gets the wait q.
|
Modifier and Type | Method and Description |
---|---|
void |
ParallelTaskManager.addTaskToInProgressMap(java.lang.String jobId,
ParallelTask task)
when create new job, always add this to the queue.
|
ResponseFromManager |
ParallelTaskManager.generateUpdateExecuteTask(ParallelTask task)
key function to execute a parallel task.
|
boolean |
ParallelTaskManager.removeTaskFromWaitQ(ParallelTask taskTobeRemoved)
Removes the task from wait q.
|
ResponseFromManager |
ParallelTaskManager.sendTaskToExecutionManager(ParallelTask task)
Send parallel task to execution manager.
|
Constructor and Description |
---|
ParallelTaskBean(ParallelTask task)
Instantiates a new parallel task bean.
|
Modifier and Type | Method and Description |
---|---|
static void |
BeanMapper.copy(ParallelTask source,
ParallelTaskBean target) |