public static class FactoryThread.FactoryThreadGroup
extends java.lang.ThreadGroup
| Constructor and Description |
|---|
FactoryThread.FactoryThreadGroup(java.lang.String groupName,
int threads,
FactoryThread.IRunnableFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleException(java.lang.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 FactoryThread.FactoryThreadGroup(java.lang.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 java.lang.InterruptedException
java.lang.InterruptedExceptionpublic FactoryThread.FactoryThreadGroup join(long millis) throws java.lang.InterruptedException
java.lang.InterruptedExceptionprotected void handleException(java.lang.Throwable t,
int consecutiveErrors,
boolean terminate)
Copyright © 2015 Molindo GmbH. All Rights Reserved.