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 booleanequals(java.lang.Object other)inthashCode()(package private) voidreset()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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-