public final class IoThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory
ThreadFactory to create IO Threads.| Constructor and Description |
|---|
IoThreadFactory(java.lang.String threadNamePrefix)
Create a new instance.
|
IoThreadFactory(java.lang.String threadNamePrefix,
boolean daemon)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Thread |
newThread(java.lang.Runnable r) |
public IoThreadFactory(java.lang.String threadNamePrefix)
threadNamePrefix - the name prefix used for the created Threads.public IoThreadFactory(java.lang.String threadNamePrefix,
boolean daemon)
threadNamePrefix - the name prefix used for the created Threads.daemon - true if the created Thread should be a daemon thread.