Package org.apache.flink.table.utils
Class ThreadLocalCache<K,V>
java.lang.Object
org.apache.flink.table.utils.ThreadLocalCache<K,V>
Provides a thread local cache with a maximum cache size per thread.
Note: Values must not be null.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract VgetNewInstance(K key) static <K,V> ThreadLocalCache<K, V>
-
Constructor Details
-
ThreadLocalCache
protected ThreadLocalCache() -
ThreadLocalCache
protected ThreadLocalCache(int maxSizePerThread)
-
-
Method Details
-
get
-
getNewInstance
-
of
-