| Modifier and Type | Class and Description |
|---|---|
static class |
FactoryThread.FactoryThreadGroup |
static interface |
FactoryThread.IRunnableFactory |
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
FactoryThread(FactoryThread.IRunnableFactory factory) |
FactoryThread(FactoryThread.IRunnableFactory factory,
String name) |
FactoryThread(FactoryThread.IRunnableFactory factory,
ThreadGroup group,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleException(Throwable t,
int consecutiveErrors,
boolean terminate) |
void |
run() |
FactoryThread |
setInactive() |
FactoryThread |
setMaxErrors(int maxErrors) |
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 FactoryThread(FactoryThread.IRunnableFactory factory)
public FactoryThread(FactoryThread.IRunnableFactory factory, String name)
public FactoryThread(FactoryThread.IRunnableFactory factory, ThreadGroup group, String name)
protected void handleException(Throwable t, int consecutiveErrors, boolean terminate)
public FactoryThread setInactive()
public FactoryThread setMaxErrors(int maxErrors)
Copyright © 2014 Molindo GmbH. All Rights Reserved.