
public abstract class OSoftThread extends Thread implements OService
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
OSoftThread() |
OSoftThread(String name) |
OSoftThread(ThreadGroup iThreadGroup) |
OSoftThread(ThreadGroup group,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterExecution() |
protected void |
beforeExecution() |
protected abstract void |
execute() |
void |
interruptCurrentOperation() |
boolean |
isDumpExceptions() |
boolean |
isShutdownFlag() |
static boolean |
pauseCurrentThread(long iTime)
Pauses current thread until iTime timeout or a wake up by another thread.
|
void |
run() |
void |
sendShutdown() |
void |
setDumpExceptions(boolean dumpExceptions) |
void |
shutdown() |
void |
startup() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic OSoftThread()
public OSoftThread(ThreadGroup iThreadGroup)
public OSoftThread(String name)
public OSoftThread(ThreadGroup group, String name)
public void sendShutdown()
public void interruptCurrentOperation()
public boolean isShutdownFlag()
public static boolean pauseCurrentThread(long iTime)
iTime - public boolean isDumpExceptions()
public void setDumpExceptions(boolean dumpExceptions)
protected void beforeExecution()
throws InterruptedException
InterruptedExceptionprotected void afterExecution()
throws InterruptedException
InterruptedExceptionCopyright © 2009–2016 Orient Technologies. All rights reserved.