Package org.omegat.core.threads
Class LongProcessThread
- java.lang.Object
-
- java.lang.Thread
-
- org.omegat.core.threads.LongProcessThread
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
CalcMatchStatistics
,CalcStandardStatistics
,SearchThread
,VersionCheckThread
public class LongProcessThread extends java.lang.Thread
Thread for some long operations in background, like statistics calculation.
-
-
Constructor Summary
Constructors Constructor Description LongProcessThread()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkInterrupted()
void
fin()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Method Detail
-
fin
public void fin()
-
checkInterrupted
public void checkInterrupted() throws LongProcessInterruptedException
- Throws:
LongProcessInterruptedException
-
-