Class ThreadGroupFactory
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.v0.factories.ThreadGroupFactory
-
- All Implemented Interfaces:
IPoolFactory<java.lang.Object>
final class ThreadGroupFactory extends java.lang.Object implements IPoolFactory<java.lang.Object>
Factory that create a thread group object from thread group factory
-
-
Field Summary
Fields Modifier and Type Field Description private int
m_nameIndex
-
Constructor Summary
Constructors Constructor Description ThreadGroupFactory(ValueDescriptor[] descriptors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
createObject(long identifier, java.lang.Object o)
Creates a replacement object for a value in a poolContentType<java.lang.Object>
getContentType()
-
-
-
Constructor Detail
-
ThreadGroupFactory
public ThreadGroupFactory(ValueDescriptor[] descriptors)
-
-
Method Detail
-
createObject
public java.lang.Object 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<java.lang.Object>
- Parameters:
identifier
- the identifier that is used to look up the object- Returns:
- the replacement object that will be used instead
-
getContentType
public ContentType<java.lang.Object> getContentType()
- Specified by:
getContentType
in interfaceIPoolFactory<java.lang.Object>
-
-