Package io.airlift.concurrent
Class ThreadLocalCache<K,V>
java.lang.Object
io.airlift.concurrent.ThreadLocalCache<K,V>
- Type Parameters:
K- cache key typeV- cache value type
Provides a ThreadLocal cache with a maximum cache size per thread.
Values must not be null.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ThreadLocalCache
-
-
Method Details
-
get
-