Class ClassLoaderValue<T>

java.lang.Object
io.opentelemetry.javaagent.tooling.util.ClassLoaderValue<T>

public final class ClassLoaderValue<T> extends Object
Associate value with a class loader. Added value will behave as if it was stored in a field in the class loader object, meaning that the value can be garbage collected once the class loader is garbage collected and referencing the class loader from the value will not prevent garbage collector from collecting the class loader.
  • Constructor Details

    • ClassLoaderValue

      public ClassLoaderValue()
  • Method Details