public class UimaAsThreadFactory extends Object implements ThreadFactory
| Modifier and Type | Field and Description |
|---|---|
static AtomicInteger |
poolIdGenerator |
| Constructor and Description |
|---|
UimaAsThreadFactory(ThreadGroup tGroup) |
UimaAsThreadFactory(ThreadGroup tGroup,
PrimitiveAnalysisEngineController aController) |
| Modifier and Type | Method and Description |
|---|---|
Thread |
newThread(Runnable r)
Creates a new thread, initializes instance of AE via a call on a given PrimitiveController.
|
void |
setDaemon(boolean daemon) |
void |
setThreadGroup(ThreadGroup tGroup) |
void |
setThreadNamePrefix(String prefix) |
void |
stop() |
public static AtomicInteger poolIdGenerator
public UimaAsThreadFactory(ThreadGroup tGroup)
public UimaAsThreadFactory(ThreadGroup tGroup, PrimitiveAnalysisEngineController aController)
tGroup - aController - public void setThreadNamePrefix(String prefix)
public void setThreadGroup(ThreadGroup tGroup)
public void setDaemon(boolean daemon)
public void stop()
public Thread newThread(Runnable r)
newThread in interface ThreadFactoryCopyright © 2016. All rights reserved.