Module org.datanucleus.store.rdbms
Package org.datanucleus.store.rdbms
Class ConcurrentFixedCache<K,V>
- java.lang.Object
-
- org.datanucleus.store.rdbms.ConcurrentFixedCache<K,V>
-
public final class ConcurrentFixedCache<K,V> extends Object
When we know that there is a finite number of keys, so we get just "cache" everything.factorymay be called multiple times in case multiple threads try to init the same key at once.
-
-
Constructor Summary
Constructors Constructor Description ConcurrentFixedCache(Function<K,V> factory)
-