Class AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.StorageKey
java.lang.Object
java.lang.ref.Reference<ClassLoader>
java.lang.ref.WeakReference<ClassLoader>
net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.StorageKey
- Enclosing class:
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled
protected static class AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.StorageKey
extends WeakReference<ClassLoader>
A key for a class loader that only weakly references the class loader.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStorageKey(ClassLoader classLoader) Creates a new storage key. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()protected booleanChecks if this reference represents the bootstrap class loader.Methods inherited from class Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence, refersTo
-
Constructor Details
-
StorageKey
Creates a new storage key.- Parameters:
classLoader- The represented class loader ornullfor the bootstrap class loader.
-
-
Method Details