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 int
m_osThread
private int
m_threadGroup
-
Constructor Summary
Constructors Constructor Description JavaThreadFactory(ValueDescriptor[] descriptors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMCThread
createObject(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:IPoolFactory
Creates a replacement object for a value in a pool- Specified by:
createObject
in 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:
getContentType
in interfaceIPoolFactory<IMCThread>
-
-