at.molindo.utils.concurrent
Class FactoryThread.FactoryThreadGroup
java.lang.Object
java.lang.ThreadGroup
at.molindo.utils.concurrent.FactoryThread.FactoryThreadGroup
- All Implemented Interfaces:
- Thread.UncaughtExceptionHandler
- Enclosing class:
- FactoryThread
public static class FactoryThread.FactoryThreadGroup
- extends ThreadGroup
| Methods inherited from class java.lang.ThreadGroup |
activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toString, uncaughtException |
FactoryThread.FactoryThreadGroup
public FactoryThread.FactoryThreadGroup(String groupName,
@Nonnegative
int threads,
@Nonnull
FactoryThread.IRunnableFactory factory)
setMaxErrors
public FactoryThread.FactoryThreadGroup setMaxErrors(int maxErrors)
start
public FactoryThread.FactoryThreadGroup start()
setInactive
public FactoryThread.FactoryThreadGroup setInactive()
join
public FactoryThread.FactoryThreadGroup join()
throws InterruptedException
- Throws:
InterruptedException
join
public FactoryThread.FactoryThreadGroup join(long millis)
throws InterruptedException
- Throws:
InterruptedException
handleException
protected void handleException(Throwable t,
int consecutiveErrors,
boolean terminate)
Copyright © 2011 Molindo GmbH. All Rights Reserved.