public class TaskThreadStat extends Object
IBascomConfig.getExecutor()| Modifier | Constructor and Description |
|---|---|
protected |
TaskThreadStat(Orchestrator orc,
int localIndex,
int globalIndex,
TaskThreadStat root) |
| Modifier and Type | Method and Description |
|---|---|
int |
getGlobalIndex()
Returns the index of the associated thread within this process.
|
int |
getLocalIndex()
Returns the index of the associated thread within
getOrchestrator(). |
Orchestrator |
getOrchestrator()
The creator of this TaskThreadStat
|
TaskThreadStat |
getRoot()
Returns parent thread which created this thread.
|
boolean |
isActive()
True iff the associated thread is actively executing a task.
|
protected TaskThreadStat(Orchestrator orc, int localIndex, int globalIndex, TaskThreadStat root)
public Orchestrator getOrchestrator()
public int getLocalIndex()
getOrchestrator(). The returned value will not be unique across
orchestrators.public int getGlobalIndex()
Orchestrator.execute()public TaskThreadStat getRoot()
public boolean isActive()
Copyright © 2018. All rights reserved.