public final class HazelcastThreadGroup extends Object
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 and Description |
|---|
HazelcastThreadGroup(String name,
ILogger logger,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public HazelcastThreadGroup(String name, ILogger logger, ClassLoader classLoader)
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()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.