JBossThread instances.
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final AccessControlContext | creatingContext
Deprecated
as a consequence of
AccessControlContext being deprecated.
|
| private final Boolean | |
| private final long | |
| private static final AtomicLong | |
| private final AtomicLong | |
| private static final AtomicLong | |
| private final Integer | |
| private final String | |
| private final Long | |
| private final ThreadGroup | |
| private final Thread. |
| Access | Constructor and Description |
|---|---|
| public | JBossThreadFactory(ThreadGroup
the thread group to assign threads to by default (may be threadGroup, final Boolean null)whether the created threads should be daemon threads, or daemon, final Integer null to use the thread group's settingthe initial thread priority, or initialPriority, String null to use the thread group's settingthe name pattern string namePattern, final Thread.the uncaught exception handler, if any uncaughtExceptionHandler,the JVM-specific stack size, or stackSize)null to leave it unspecifiedConstruct a new instance. |
| public | JBossThreadFactory(ThreadGroup threadGroup, final Boolean daemon, final Integer initialPriority, String namePattern, final Thread.
Deprecated
Use
JBossThreadFactory(ThreadGroup, Boolean, Integer, String, Thread. instead.
|
| Modifier and Type | Method and Description |
|---|---|
| private Thread | |
| public Thread | newThread(final Runnable
a runnable to be executed by new thread instance target)Implements java. Thread to run the given runnable.
|
| creatingContext | back to summary |
|---|---|
| private final AccessControlContext creatingContext
Deprecated as a consequence of | |
| daemon | back to summary |
|---|---|
| private final Boolean daemon | |
| factoryIndex | back to summary |
|---|---|
| private final long factoryIndex | |
| factoryIndexSequence | back to summary |
|---|---|
| private static final AtomicLong factoryIndexSequence | |
| factoryThreadIndexSequence | back to summary |
|---|---|
| private final AtomicLong factoryThreadIndexSequence | |
| globalThreadIndexSequence | back to summary |
|---|---|
| private static final AtomicLong globalThreadIndexSequence | |
| initialPriority | back to summary |
|---|---|
| private final Integer initialPriority | |
| namePattern | back to summary |
|---|---|
| private final String namePattern | |
| stackSize | back to summary |
|---|---|
| private final Long stackSize | |
| threadGroup | back to summary |
|---|---|
| private final ThreadGroup threadGroup | |
| uncaughtExceptionHandler | back to summary |
|---|---|
| private final Thread. | |
| JBossThreadFactory | back to summary |
|---|---|
| public JBossThreadFactory(ThreadGroup threadGroup, final Boolean daemon, final Integer initialPriority, String namePattern, final Thread. Construct a new instance. The access control context of the calling thread will be the one used to create new threads if a security manager is installed.
| |
| JBossThreadFactory | back to summary |
|---|---|
| public JBossThreadFactory(ThreadGroup threadGroup, final Boolean daemon, final Integer initialPriority, String namePattern, final Thread. Deprecated Use
| |
| createThread | back to summary |
|---|---|
| private Thread createThread(final Runnable target) | |
| newThread | back to summary |
|---|---|
| public Thread newThread(final Runnable target) Implements java. Doc from java. Constructs a new unstarted | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Thread |
| target | back to summary |
|---|---|
| private final Runnable target | |
| ThreadCreateAction | back to summary |
|---|---|
| private ThreadCreateAction(final Runnable target) | |
| run | back to summary |
|---|---|
| public Thread run() Implements java. Doc from java. Performs the computation. This method will be called by
| |