public class SQSMessagingClientThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory
| Constructor and Description |
|---|
SQSMessagingClientThreadFactory(java.lang.String taskName,
boolean isDaemon) |
SQSMessagingClientThreadFactory(java.lang.String taskName,
boolean isDaemon,
boolean createWithThreadGroup) |
SQSMessagingClientThreadFactory(java.lang.String taskName,
java.lang.ThreadGroup threadGroup) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Thread |
newThread(java.lang.Runnable r)
Constructs a new Thread.
|
boolean |
wasThreadCreatedWithThisThreadGroup(java.lang.Thread thread)
Checks if the thread is member of the thread group
|
public SQSMessagingClientThreadFactory(java.lang.String taskName,
boolean isDaemon)
public SQSMessagingClientThreadFactory(java.lang.String taskName,
boolean isDaemon,
boolean createWithThreadGroup)
public SQSMessagingClientThreadFactory(java.lang.String taskName,
java.lang.ThreadGroup threadGroup)
public java.lang.Thread newThread(java.lang.Runnable r)
newThread in interface java.util.concurrent.ThreadFactoryr - A runnable to be executed by new thread instancepublic boolean wasThreadCreatedWithThisThreadGroup(java.lang.Thread thread)
thread -