class TypeManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private class |
TypeManager.EventTypeEntry |
private static class |
TypeManager.NopEventSink |
private static class |
TypeManager.SkipFieldsEventSink |
private class |
TypeManager.TypeEntry |
private class |
TypeManager.TypeIdentifierReader |
Modifier and Type | Field and Description |
---|---|
private FastAccessNumberMap<TypeManager.EventTypeEntry> |
eventTypes |
private ChunkStructure |
header |
private FastAccessNumberMap<TypeManager.TypeEntry> |
otherTypes |
private java.util.Map<java.lang.Long,StructContentType<java.lang.Object[]>> |
structTypes |
Constructor and Description |
---|
TypeManager(java.util.List<ChunkMetadata.ClassElement> classList,
LoaderContext context,
ChunkStructure header) |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
buildLabel(java.lang.String id,
ChunkMetadata.AnnotatedElement element) |
private ValueReaders.IValueReader |
createFieldReader(ChunkMetadata.FieldElement f,
java.lang.String valueType) |
private TypeManager.TypeEntry |
getTypeEntry(long typeId) |
(package private) void |
readConstants(long typeId,
IDataInput input,
int constantCount) |
(package private) void |
readEvent(long typeId,
IDataInput input) |
private void |
resolveAnnotations(ChunkMetadata.AnnotatedElement ae) |
(package private) void |
resolveConstants() |
private final java.util.Map<java.lang.Long,StructContentType<java.lang.Object[]>> structTypes
private final FastAccessNumberMap<TypeManager.TypeEntry> otherTypes
private final FastAccessNumberMap<TypeManager.EventTypeEntry> eventTypes
private final ChunkStructure header
TypeManager(java.util.List<ChunkMetadata.ClassElement> classList, LoaderContext context, ChunkStructure header) throws InvalidJfrFileException, java.io.IOException
InvalidJfrFileException
java.io.IOException
void readEvent(long typeId, IDataInput input) throws InvalidJfrFileException, java.io.IOException
InvalidJfrFileException
java.io.IOException
void readConstants(long typeId, IDataInput input, int constantCount) throws InvalidJfrFileException, java.io.IOException
InvalidJfrFileException
java.io.IOException
void resolveConstants() throws InvalidJfrFileException
InvalidJfrFileException
private TypeManager.TypeEntry getTypeEntry(long typeId) throws InvalidJfrFileException
InvalidJfrFileException
private void resolveAnnotations(ChunkMetadata.AnnotatedElement ae) throws InvalidJfrFileException
InvalidJfrFileException
private ValueReaders.IValueReader createFieldReader(ChunkMetadata.FieldElement f, java.lang.String valueType) throws InvalidJfrFileException
InvalidJfrFileException
private static java.lang.String buildLabel(java.lang.String id, ChunkMetadata.AnnotatedElement element)