Package gw.util.concurrent
-
Interface Summary Interface Description Cache.MissHandler<L,W> LockingLazyVar.LazyVarInit<Q> A simple init interface to make LockingLazyVar's easier to construct from gosu.LocklessLazyVar.LazyVarInit<Q> A simple init interface to make LockingLazyVar's easier to construct from gosu. -
Class Summary Class Description Cache<K,V> static var MY_CACHE = new Cache( 1000, \ foo -> getBar( foo ) ) ConcurrentHashSet<K> ConcurrentWeakHashMap<K,V> A hash table with weak keys, full concurrency of retrievals, and adjustable expected concurrency for updates.ConcurrentWeakValueHashMap<K,V> Adapted from com.intellij.util.containers.ConcurrentWeakValueHashMapLockingLazyVar<T> LocklessLazyVar<T> Implements the lazy initialization pattern.