Api Provider Map
public interface ApiProviderMap<K, V>
Content copied to clipboard
A fast thread-safe copy-on-write map meant to be used as the backing storage for registered providers. See ApiLookupMap for a usage example.
Note: This map allows very fast lock-free concurrent reads, but in exchange writes are very expensive and should not be too frequent. Also, keys are compared by reference ({@code ==}
) and not using equals.
Parameters
<K>
The key type of the map, compared by reference ({@code ==}
).
<V>
The value type of the map.
Functions
Inheritors
ApiProviderHashMap
Link copied to clipboard
Sources
jvm source
Link copied to clipboard