public class AttachmentThreadFactory extends Object implements ThreadFactory
| Modifier and Type | Field and Description |
|---|---|
protected ThreadGroup |
threadGroup |
| Constructor and Description |
|---|
AttachmentThreadFactory() |
AttachmentThreadFactory(Class<?> poolType) |
AttachmentThreadFactory(Class<?> poolType,
boolean daemon) |
AttachmentThreadFactory(Class<?> poolType,
boolean daemon,
int priority) |
AttachmentThreadFactory(Class<?> poolType,
int priority) |
AttachmentThreadFactory(String poolName) |
AttachmentThreadFactory(String poolName,
boolean daemon) |
AttachmentThreadFactory(String poolName,
boolean daemon,
int priority) |
AttachmentThreadFactory(String poolName,
boolean daemon,
int priority,
ThreadGroup threadGroup) |
AttachmentThreadFactory(String poolName,
int priority) |
| Modifier and Type | Method and Description |
|---|---|
Thread |
newThread(Runnable r) |
protected Thread |
newThread(Runnable r,
String name) |
static String |
toPoolName(Class<?> poolType) |
protected final ThreadGroup threadGroup
public AttachmentThreadFactory()
public AttachmentThreadFactory(Class<?> poolType)
public AttachmentThreadFactory(String poolName)
public AttachmentThreadFactory(Class<?> poolType, boolean daemon)
public AttachmentThreadFactory(String poolName, boolean daemon)
public AttachmentThreadFactory(Class<?> poolType, int priority)
public AttachmentThreadFactory(String poolName, int priority)
public AttachmentThreadFactory(Class<?> poolType, boolean daemon, int priority)
public AttachmentThreadFactory(String poolName, boolean daemon, int priority, ThreadGroup threadGroup)
public AttachmentThreadFactory(String poolName, boolean daemon, int priority)
Copyright © 2019. All rights reserved.