Class WeakConcurrentMap.LookupKey<K>
- java.lang.Object
-
- io.opentelemetry.context.internal.shaded.WeakConcurrentMap.LookupKey<K>
-
- Enclosing class:
- WeakConcurrentMap<K,V>
static final class WeakConcurrentMap.LookupKey<K> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LookupKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
(package private) void
reset()
Failing to reset a lookup key can lead to memory leaks as the key is strongly referenced.(package private) WeakConcurrentMap.LookupKey<K>
withValue(K key)
-
-
-
Field Detail
-
key
private K key
-
hashCode
private int hashCode
-
-
Method Detail
-
withValue
WeakConcurrentMap.LookupKey<K> withValue(K key)
-
reset
void reset()
Failing to reset a lookup key can lead to memory leaks as the key is strongly referenced.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-