Class OldObjectFactory
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.v0.factories.OldObjectFactory
-
- All Implemented Interfaces:
IPoolFactory<IMCOldObject>
public class OldObjectFactory extends java.lang.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 IMCOldObjectcreateObject(long identifier, java.lang.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, java.lang.Object source)
Description copied from interface:IPoolFactoryCreates a replacement object for a value in a pool- Specified by:
createObjectin 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:
getContentTypein interfaceIPoolFactory<IMCOldObject>
-
-