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
InvalidJfrFileExceptionjava.io.IOExceptionvoid readEvent(long typeId,
IDataInput input)
throws InvalidJfrFileException,
java.io.IOException
InvalidJfrFileExceptionjava.io.IOExceptionvoid readConstants(long typeId,
IDataInput input,
int constantCount)
throws InvalidJfrFileException,
java.io.IOException
InvalidJfrFileExceptionjava.io.IOExceptionvoid resolveConstants()
throws InvalidJfrFileException
InvalidJfrFileExceptionprivate TypeManager.TypeEntry getTypeEntry(long typeId) throws InvalidJfrFileException
InvalidJfrFileExceptionprivate void resolveAnnotations(ChunkMetadata.AnnotatedElement ae) throws InvalidJfrFileException
InvalidJfrFileExceptionprivate ValueReaders.IValueReader createFieldReader(ChunkMetadata.FieldElement f, java.lang.String valueType) throws InvalidJfrFileException
InvalidJfrFileExceptionprivate static java.lang.String buildLabel(java.lang.String id,
ChunkMetadata.AnnotatedElement element)