Class ClassLoaderMatcherCacheHolder
java.lang.Object
io.opentelemetry.javaagent.bootstrap.internal.ClassLoaderMatcherCacheHolder
A holder of all ClassLoaderMatcher caches. We store them in the bootstrap class loader so that
instrumentation can invalidate the ClassLoaderMatcher for a particular ClassLoader, e.g. when
URLClassLoader.addURL(URL)
is called.
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCache
(io.opentelemetry.instrumentation.api.internal.cache.Cache<ClassLoader, ?> cache) static void
-
Method Details
-
addCache
public static void addCache(io.opentelemetry.instrumentation.api.internal.cache.Cache<ClassLoader, ?> cache) -
invalidateAllCachesForClassLoader
-