|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.java.util.jobs.Job
net.sourceforge.java.util.jobs.IdleJobStatusReaper
Reapes idle JobStatus instances found in a
JobStatusTableContentProvider whose idle time is greater than
the time specified in DEFAULT_IDLE_TIME.
| Field Summary | |
private JobStatusTableContentProvider |
contentProvider
The JobStatusTableContentProvider in which to look for
idle JobStatus instances
|
private static long |
DEFAULT_IDLE_TIME
The default time in milliseconds that an JobStatus can be
idle before it gets reaped.
|
| Fields inherited from class net.sourceforge.java.util.jobs.Job |
|
| Fields inherited from interface net.sourceforge.java.util.jobs.IJob |
HIGH_PRIORITY, LOW_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
IdleJobStatusReaper(JobStatusTableContentProvider contentProvider)
Creates a new IdleJobStatusReaper instance that reapes idle
JobStatus instances contained in the specified
JobStatusTableContentProvider.
|
|
| Method Summary | |
void |
run(IProgressMonitor monitor)
Executes this IdleJobStatusReaper.
|
| Methods inherited from class net.sourceforge.java.util.jobs.Job |
cancel, done, getException, getJobManager, getName, getPriority, getStatus, getThread, isCanceled, join, setException, setJobManager, setName, setPriority, setThread, start, started, statusChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final long DEFAULT_IDLE_TIME
The default time in milliseconds that an JobStatus can be
idle before it gets reaped.
private JobStatusTableContentProvider contentProvider
The JobStatusTableContentProvider in which to look for
idle JobStatus instances
| Constructor Detail |
public IdleJobStatusReaper(JobStatusTableContentProvider contentProvider)
Creates a new IdleJobStatusReaper instance that reapes idle
JobStatus instances contained in the specified
JobStatusTableContentProvider.
contentProvider - the JobStatusTableContentProvider
in which to look for idle JobStatus instances| Method Detail |
public void run(IProgressMonitor monitor)
throws InvocationTargetException,
InterruptedException
Executes this IdleJobStatusReaper.
It reapes all JobStatus objects which are idle longer than
the time specified in DEFAULT_IDLE_TIME.
monitor - the IProgressMonitor to use for reporting progress
InvocationTargetException
InterruptedExceptionIRunnableWithProgress.run(org.eclipse.core.runtime.IProgressMonitor)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||