protected static class AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.StorageKey
extends java.lang.ref.WeakReference<java.lang.ClassLoader>
Modifier and Type | Field and Description |
---|---|
private int |
hashCode
The represented class loader's hash code or
0 if this entry represents the bootstrap class loader. |
Modifier | Constructor and Description |
---|---|
protected |
StorageKey(java.lang.ClassLoader classLoader)
Creates a new storage key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
protected boolean |
isBootstrapLoader()
Checks if this reference represents the bootstrap class loader.
|
private final int hashCode
0
if this entry represents the bootstrap class loader.protected StorageKey(java.lang.ClassLoader classLoader)
classLoader
- The represented class loader or null
for the bootstrap class loader.protected boolean isBootstrapLoader()
true
if this entry represents the bootstrap class loader.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object