A thread-safe Map-like storage with advanced operations like getOrInsert
and use
that support long-running
computations
- Companion:
- object
Value members
Abstract methods
Get the value for the given key, potentially blocking when a getOrInsert
fallback
is currently being evaluated
for this key
Get the value for the given key, potentially blocking when a getOrInsert
fallback
is currently being evaluated
for this key
Get the value for the given key, potentially blocking when a getOrInsert
fallback
is currently being evaluated
for this key
Get the value for the given key, potentially blocking when a getOrInsert
fallback
is currently being evaluated
for this key
fallback
will only be evaluated for insertion if no value exists for this key.
Insert an element into the Register, potentially overriding an existing value with the given key
Insert an element into the Register, potentially overriding an existing value with the given key
- Returns:
Element that was previously assigned to that
key