Class JavaThreadFactory
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.v0.factories.JavaThreadFactory
-
- All Implemented Interfaces:
IPoolFactory<IMCThread>
final class JavaThreadFactory extends java.lang.Object implements IPoolFactory<IMCThread>
Create a thread from java thread pool
-
-
Field Summary
Fields Modifier and Type Field Description private intm_osThreadprivate intm_threadGroup
-
Constructor Summary
Constructors Constructor Description JavaThreadFactory(ValueDescriptor[] descriptors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMCThreadcreateObject(long identifier, java.lang.Object o)Creates a replacement object for a value in a poolContentType<IMCThread>getContentType()
-
-
-
Constructor Detail
-
JavaThreadFactory
public JavaThreadFactory(ValueDescriptor[] descriptors)
-
-
Method Detail
-
createObject
public IMCThread createObject(long identifier, java.lang.Object o)
Description copied from interface:IPoolFactoryCreates a replacement object for a value in a pool- Specified by:
createObjectin interfaceIPoolFactory<IMCThread>- Parameters:
identifier- the identifier that is used to look up the object- Returns:
- the replacement object that will be used instead
-
getContentType
public ContentType<IMCThread> getContentType()
- Specified by:
getContentTypein interfaceIPoolFactory<IMCThread>
-
-