public abstract class AbstractSimpleParallelTaskImpl extends Object implements ParallelTask
getTaskLabel() and getTaskInfo(), which may be enough for most cases.
The developer extending this class only needs to provide
the callImpl() method.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSimpleParallelTaskImpl(int iid)
Constructor with instance id parameter.
|
| Modifier and Type | Method and Description |
|---|---|
ParallelResult |
call() |
protected abstract ParallelResult |
callImpl()
Call implementation to be provided by the implementing class.
|
protected String |
getCallThreadName() |
int |
getId() |
ParallelResult |
getResult()
Asynchronous getter for the results.
|
String |
getTaskInfo()
Returns human-readable info on the status of the task.
|
String |
getTaskLabel()
Returns a label identifying the task "class".
|
protected AbstractSimpleParallelTaskImpl(int iid)
iid - the instance id, an integer. Identifies the task instance
in the getTaskInfo string, has otherwise no use.public String getTaskLabel()
ParallelTaskgetTaskLabel in interface ParallelTaskpublic String getTaskInfo()
ParallelTaskgetTaskInfo in interface ParallelTaskpublic ParallelResult call()
call in interface ParallelTaskcall in interface Callable<ParallelResult>protected abstract ParallelResult callImpl()
public ParallelResult getResult()
ParallelTaskgetResult in interface ParallelTaskpublic int getId()
protected String getCallThreadName()
Copyright © 2025 CNES. All rights reserved.