|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.DaemonThreadFactory
public class DaemonThreadFactory
DaemonThreadFactory is a ThreadFactory which produces daemon threads.
| Field Summary | |
|---|---|
static DaemonThreadFactory |
INSTANCEA reuseable DaemonThreadFactory instance. |
protected java.util.concurrent.atomic.AtomicInteger |
m_cNameSuffixThe thread name counter. |
protected java.lang.String |
m_sNamePrefixThe prefix to use for unnammed threads produced by the factory. |
| Constructor Summary | |
|---|---|
DaemonThreadFactory()Construct a new DameonThreadFacotry. |
|
DaemonThreadFactory(java.lang.String sPrefix)Construct a new DameonThreadFacotry. |
|
| Method Summary | |
|---|---|
java.lang.Thread |
makeThread(java.lang.ThreadGroup group, java.lang.Runnable runnable, java.lang.String sName)Create a Thread with the specified group, runnable, and name. |
java.lang.Thread |
newThread(java.lang.Runnable r) |
| Field Detail |
|---|
protected final java.lang.String m_sNamePrefix
protected final java.util.concurrent.atomic.AtomicInteger m_cNameSuffix
public static final DaemonThreadFactory INSTANCE
| Constructor Detail |
|---|
public DaemonThreadFactory()
public DaemonThreadFactory(java.lang.String sPrefix)
sPrefix - the prefix for unnamed threads| Method Detail |
|---|
public java.lang.Thread makeThread(java.lang.ThreadGroup group,
java.lang.Runnable runnable,
java.lang.String sName)
group - (optional) the thread's thread grouprunnable - (optional) the thread's runnablesName - (optional) the thread's namepublic java.lang.Thread newThread(java.lang.Runnable r)
newThread in interface java.util.concurrent.ThreadFactory
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||