public static class FactoryThread.FactoryThreadGroup extends ThreadGroup
| Constructor and Description |
|---|
FactoryThreadGroup(String groupName,
int threads,
FactoryThread.IRunnableFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleException(Throwable t,
int consecutiveErrors,
boolean terminate) |
FactoryThread.FactoryThreadGroup |
join() |
FactoryThread.FactoryThreadGroup |
join(long millis) |
FactoryThread.FactoryThreadGroup |
setInactive() |
FactoryThread.FactoryThreadGroup |
setMaxErrors(int maxErrors) |
FactoryThread.FactoryThreadGroup |
start() |
activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toString, uncaughtExceptionpublic FactoryThreadGroup(String groupName, @Nonnegative int threads, @Nonnull FactoryThread.IRunnableFactory factory)
public FactoryThread.FactoryThreadGroup setMaxErrors(int maxErrors)
public FactoryThread.FactoryThreadGroup start()
public FactoryThread.FactoryThreadGroup setInactive()
public FactoryThread.FactoryThreadGroup join() throws InterruptedException
InterruptedExceptionpublic FactoryThread.FactoryThreadGroup join(long millis) throws InterruptedException
InterruptedExceptionprotected void handleException(Throwable t, int consecutiveErrors, boolean terminate)
Copyright © 2015 Molindo GmbH. All Rights Reserved.