|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.pipeline.common.TaskManager
org.openstreetmap.osmosis.core.pipeline.common.PassiveTaskManager
public abstract class PassiveTaskManager
This task manager implementation supports tasks that perform passive processing on data received from other tasks.
Constructor Summary | |
---|---|
protected |
PassiveTaskManager(java.lang.String taskId,
java.util.Map<java.lang.String,java.lang.String> pipeArgs)
Creates a new instance. |
Method Summary | |
---|---|
void |
execute()
Begins execution of the task. |
boolean |
waitForCompletion()
Waits until all tasks have completed execution before returning. |
Methods inherited from class org.openstreetmap.osmosis.core.pipeline.common.TaskManager |
---|
connect, getInputTask, getTaskId, setOutputTask |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PassiveTaskManager(java.lang.String taskId, java.util.Map<java.lang.String,java.lang.String> pipeArgs)
taskId
- A unique identifier for the task. This is used to produce
meaningful errors when errors occur.pipeArgs
- The arguments defining input and output pipes for the task,
pipes are a logical concept for identifying how the tasks are
connected together.Method Detail |
---|
public void execute()
execute
in class TaskManager
public boolean waitForCompletion()
waitForCompletion
in class TaskManager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |