@Address(value="/subsystem=batch-jberet/thread-factory=*") public class ThreadFactory<T extends ThreadFactory<T>> extends HashMap implements Keyed
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ThreadFactory(String key) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
String |
groupName()
Specifies the name of a thread group to create for this thread factory.
|
T |
groupName(String value)
Specifies the name of a thread group to create for this thread factory.
|
String |
name()
The name of the created thread factory.
|
T |
name(String value)
The name of the created thread factory.
|
Integer |
priority()
May be used to specify the thread priority of created threads.
|
T |
priority(Integer value)
May be used to specify the thread priority of created threads.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
threadNamePattern()
The template used to create names for threads.
|
T |
threadNamePattern(String value)
The template used to create names for threads.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic ThreadFactory(String key)
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@ModelNodeBinding(detypedName="group-name") public String groupName()
public T groupName(String value)
@ModelNodeBinding(detypedName="name") public String name()
@ModelNodeBinding(detypedName="priority") public Integer priority()
public T priority(Integer value)
@ModelNodeBinding(detypedName="thread-name-pattern") public String threadNamePattern()
public T threadNamePattern(String value)
Copyright © 2017 JBoss by Red Hat. All rights reserved.