Package co.elastic.apm.agent.cache
Interface WeakKeySoftValueLoadingCache.ValueSupplier<K,V>
-
- Type Parameters:
K- the key typeV- the value type
- Enclosing class:
- WeakKeySoftValueLoadingCache<K,V>
public static interface WeakKeySoftValueLoadingCache.ValueSupplier<K,V>Supplies a value, given a key.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vget(K key)This supplier is expected to return the same or equal-and-stateless object if called multiple times for the same key, for thread safety.
-