|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.gridbus.broker.farming.common.JobMonitor
| Constructor Summary | |
JobMonitor(ComputeServer server)
|
|
| Method Summary | |
void |
addListener(JobListener jl)
This class is also the source of the events. |
java.util.Collection |
getJobs()
|
boolean |
isRunning()
Returns true if the monitor is still running |
void |
notifyListeners_Blocking(Job j)
This method blocks until all the listeners have processed the event. |
void |
notifyListeners(Job j)
|
void |
removeAllListeners()
|
void |
removeListener(JobListener jl)
|
void |
run()
|
void |
startMonitoring(Job j)
Adds this job to the list of jobs to be monitored |
void |
stop()
This method will signal the jobmonitor thread to stop |
void |
stopMonitoring(Job j)
Removes this job to the list of jobs to be monitored |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JobMonitor(ComputeServer server)
server - | Method Detail |
public final void stop()
public final boolean isRunning()
public final void run()
run in interface java.lang.RunnableRunnable.run()public final void startMonitoring(Job j)
j - public final void stopMonitoring(Job j)
j - public void addListener(JobListener jl)
jl - public void removeListener(JobListener jl)
jl - public void removeAllListeners()
public void notifyListeners(Job j)
j - public void notifyListeners_Blocking(Job j)
j - public java.util.Collection getJobs()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||