|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJob
eu.geclipse.core.JobStatusUpdater
public class JobStatusUpdater
The class for updating job status in the background. There is one JobStatusUpdater for each job and it is started when a job is added to project.
JobManager,
IGridJobStatus,
IGridJob| Constructor Summary | |
|---|---|
JobStatusUpdater(IGridJob job)
Constructor |
|
| Method Summary | |
|---|---|
void |
addJobStatusListener(int status,
IGridJobStatusListener listener)
Add status listener for the updater. |
IGridJob |
getJob()
|
void |
removeJobStatusListener(IGridJobStatusListener listener)
Removes registrered job status listener |
void |
setRemoved()
Mark IGridJob connected with this updater as removed, what means
that this updater should stop to schedule itself. |
void |
statusUpdated(IGridJobStatus newStatus)
Used when job status was updated outside of the updater. |
void |
wakeUpdater()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobStatusUpdater(IGridJob job)
job - for which this updater is created| Method Detail |
|---|
public IGridJob getJob()
public void statusUpdated(IGridJobStatus newStatus)
newStatus - Fetched status
public void addJobStatusListener(int status,
IGridJobStatusListener listener)
status - - aggregate value of IGridJobStatus types, for which listener
should be notified.listener - - listener to be notifies about the change.public void removeJobStatusListener(IGridJobStatusListener listener)
listener - public void setRemoved()
IGridJob connected with this updater as removed, what means
that this updater should stop to schedule itself.
public void wakeUpdater()
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||