Package gw.util.concurrent
package gw.util.concurrent
-
ClassDescriptionCache<K,
V> static var MY_CACHE = new Cache<Foo, Bar>( 1000, \ foo -> getBar( foo ) )AConcurrentMap
with a doubly-linked list running through its entries.A listener registered for notification when an entry is evicted.The replacement policy to apply to determine which entry to discard to when the capacity has been reached.A node on the double-linked list.This duplicatesAbstractMap.SimpleEntry
until the class is made accessible.Cache.MissHandler<L,W> A hash table with weak keys, full concurrency of retrievals, and adjustable expected concurrency for updates.ConcurrentWeakHashMap list entry.Segments are specialized versions of hash tables.A weak-key reference which stores the key hash needed for reclamation.Adapted from com.intellij.util.containers.ConcurrentWeakValueHashMapA simple init interface to make LockingLazyVar's easier to construct from gosu.Implements the lazy initialization pattern.A simple init interface to make LockingLazyVar's easier to construct from gosu.