public class VwmProbe extends Object implements Runnable
| Modifier and Type | Field and Description |
|---|---|
(package private) MMObjectNode |
anode |
(package private) Thread |
kicker |
(package private) VwmProbeInterface |
parent |
(package private) PerformProbe |
pp |
(package private) SortedVector |
tasks |
| Constructor and Description |
|---|
VwmProbe(VwmProbeInterface parent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsTask(MMObjectNode node)
Checks if a task node already exists in the task nodes vector.
|
void |
init() |
boolean |
putTask(MMObjectNode node)
Puts a task node to the vector (sorted on task start time) of new tasks.
|
boolean |
replaceTask(MMObjectNode node)
Replaces a task node entry in the sorted task nodes vector with a new one.
|
void |
run()
blocked on the first task in the queue
|
void |
start()
Starts the admin Thread.
|
void |
stop()
Stops the admin Thread.
|
Thread kicker
VwmProbeInterface parent
SortedVector tasks
MMObjectNode anode
PerformProbe pp
public VwmProbe(VwmProbeInterface parent)
public void init()
public void start()
public void stop()
public void run()
public boolean putTask(MMObjectNode node)
node - task nodepublic boolean containsTask(MMObjectNode node)
node - task nodepublic boolean replaceTask(MMObjectNode node)
node - task nodeMMBase 1.9-SNAPSHOT - ${javadoctimestamp}