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