- java.lang.Object
- 
- jdk.jfr.consumer.RecordedObject
- 
- jdk.jfr.consumer.RecordedClassLoader
 
 
- 
 public final class RecordedClassLoader extends RecordedObject A recorded Java class loader.- Since:
- 9
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetId()Returns a unique ID for the class loader.StringgetName()Returns the name of the class loader (for example, "boot", "platform", and "app").RecordedClassgetType()Returns the class of the class loader.- 
Methods declared in class jdk.jfr.consumer.RecordedObjectgetBoolean, getByte, getChar, getClass, getDouble, getDuration, getFields, getFloat, getInstant, getInt, getLong, getShort, getString, getThread, getValue, hasField, toString
 
- 
 
- 
- 
- 
Method Detail- 
getTypepublic RecordedClass getType() Returns the class of the class loader.If the bootstrap class loader is represented as nullin the Java Virtual Machine (JVM), thennullis also the return value of this method.- Returns:
- class of the class loader, can be null
 
 - 
getNamepublic String getName() Returns the name of the class loader (for example, "boot", "platform", and "app").- Returns:
- the class loader name, can be null
 
 - 
getIdpublic long getId() Returns a unique ID for the class loader.The ID might not be the same between Java Virtual Machine (JVM) instances. - Returns:
- a unique ID
 
 
- 
 
-