public final class RecordedClassLoader extends RecordedObject
Modifier and Type | Method | Description |
---|---|---|
long |
getId() |
Returns a unique ID for the class loader. |
String |
getName() |
Returns the name of the class loader (for example, "boot", "platform", and "app"). |
RecordedClass |
getType() |
Returns the class of the class loader. |
getBoolean, getByte, getChar, getClass, getDouble, getDuration, getFields, getFloat, getInstant, getInt, getLong, getShort, getString, getThread, getValue, hasField, toString
public RecordedClass getType()
If the bootstrap class loader is represented as null
in the Java Virtual Machine (JVM), then null
is also the return value of this method.
null
public String getName()
null
public long getId()
The ID might not be the same between Java Virtual Machine (JVM) instances.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.jfr/jdk/jfr/consumer/RecordedClassLoader.html