public abstract class RemotingProgressMonitorThread
extends java.lang.Thread
Constructor and Description |
---|
RemotingProgressMonitorThread() |
Modifier and Type | Method and Description |
---|---|
abstract java.io.Serializable |
doRun(IRemotingProgressMonitor monitor)
Executes the monitored job.
|
protected static RemotingProgressMonitorThread |
getMonitorThread(IRemotingProgressMonitor monitor)
Returns a currently running monitor thread corresponding to the
given monitor.
|
void |
interrupt() |
void |
run() |
void |
setMonitor(IRemotingProgressMonitor monitor) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public void setMonitor(IRemotingProgressMonitor monitor)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public abstract java.io.Serializable doRun(IRemotingProgressMonitor monitor)
monitor
- to be updated by the monitored jobprotected static RemotingProgressMonitorThread getMonitorThread(IRemotingProgressMonitor monitor)
monitor
- for which the threadpublic void interrupt()
interrupt
in class java.lang.Thread
Copyright © 2007-2020 EDIT. All Rights Reserved.