|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hazelcast.instance.HazelcastThreadGroup
public final class HazelcastThreadGroup
A wrapper around the ThreadGroup
that provides some additional capabilities. It is a grouping of
all thread creational logic throughout the system. To access the actual ThreadGroup, call getInternalThreadGroup()
.
Constructor Summary | |
---|---|
HazelcastThreadGroup(String name,
ILogger logger,
ClassLoader classLoader)
|
Method Summary | |
---|---|
void |
destroy()
Destroys all threads in this ThreadGroup. |
ClassLoader |
getClassLoader()
Returns the ClassLoader used by threads of this HazelcastThreadGroup. |
ThreadGroup |
getInternalThreadGroup()
Gets the internal ThreadGroup; so the actual ThreadGroup object. |
String |
getThreadNamePrefix(String name)
Gets the threadname prefix. |
String |
getThreadPoolNamePrefix(String poolName)
Gets the threadpool prefix for a given poolname. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HazelcastThreadGroup(String name, ILogger logger, ClassLoader classLoader)
Method Detail |
---|
public String getThreadNamePrefix(String name)
name
- the basic name of the thread.
NullPointerException
- if name is null.public String getThreadPoolNamePrefix(String poolName)
poolName
- the name of the pool.
NullPointerException
- if poolname is null.public ClassLoader getClassLoader()
public ThreadGroup getInternalThreadGroup()
public void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |