public abstract class OSoftThread extends Thread implements OService
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
OSoftThread() |
OSoftThread(ThreadGroup group,
String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterExecution() |
protected void |
beforeExecution() |
protected abstract void |
execute() |
boolean |
isShutdownFlag() |
void |
run() |
void |
sendShutdown() |
void |
setDumpExceptions(boolean dumpExceptions) |
void |
shutdown() |
void |
softShutdown() |
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, yield
public OSoftThread()
public OSoftThread(ThreadGroup group, String name)
public void sendShutdown()
public void softShutdown()
public boolean isShutdownFlag()
public void setDumpExceptions(boolean dumpExceptions)
protected void beforeExecution() throws InterruptedException
InterruptedException
protected void afterExecution() throws InterruptedException
InterruptedException
Copyright © 2009–2020 OrientDB. All rights reserved.