Package se.liu.ida.hefquin.base.datastructures.impl.cache
package se.liu.ida.hefquin.base.datastructures.impl.cache
-
ClassDescriptionCacheEntry<ObjectType>CacheEntryBase<ObjectType>CacheEntryBaseFactory<ObjectType>An implementation of
CacheEntryFactory
forCacheEntryBase
objects.Creates EntryType objects that wrap ObjectType objects.Interface for classes that determine whether cache entries are still valid.A generic implementation ofCacheInvalidationPolicy
that always returnstrue
.CachePolicies<IdType,ObjectType, EntryType extends CacheEntry<ObjectType>> CacheReplacementPolicy<IdType,ObjectType, EntryType extends CacheEntry<ObjectType>> Interface for classes that implement a replacement policy for a cache.CacheReplacementPolicyFactory<IdType,ObjectType, EntryType extends CacheEntry<ObjectType>> CacheReplacementPolicyLRU<IdType,ObjectType, EntryType extends CacheEntry<ObjectType>> GenericCacheImpl<IdType,ObjectType, EntryType extends CacheEntry<ObjectType>> A generic, thread-safe implementation ofCache
.