Uses of Class
com.identityworksllc.iiq.common.cache.CacheEntry
-
Packages that use CacheEntry Package Description com.identityworksllc.iiq.common.cache -
-
Uses of CacheEntry in com.identityworksllc.iiq.common.cache
Subclasses of CacheEntry in com.identityworksllc.iiq.common.cache Modifier and Type Class Description class
VersionedCacheEntry<T>
A plugin version aware extension ofCacheEntry
, which will consider itself expired whenever the plugin version has changed from the version at entry creation.Methods in com.identityworksllc.iiq.common.cache that return CacheEntry Modifier and Type Method Description protected CacheEntry<V>
CacheMap. cache(V value)
Caches the given value with the default expiration secondsprotected CacheEntry<V>
VersionedCacheMap. cache(V value)
Caches the value using aVersionedCacheEntry
static <T> CacheEntry<T>
CacheEntry. computeIfExpired(CacheEntry<T> entry, Supplier<CacheEntry<T>> valueSupplier)
Returns either the entry (if it is not null and not expired), or invokes the Supplier to generate a new entry if it is expired.Methods in com.identityworksllc.iiq.common.cache that return types with arguments of type CacheEntry Modifier and Type Method Description protected ConcurrentMap<K,CacheEntry<? extends V>>
CacheMap. getInternalMap()
Gets the internal map, for use by subclasses onlyMethods in com.identityworksllc.iiq.common.cache with parameters of type CacheEntry Modifier and Type Method Description static <T> CacheEntry<T>
CacheEntry. computeIfExpired(CacheEntry<T> entry, Supplier<CacheEntry<T>> valueSupplier)
Returns either the entry (if it is not null and not expired), or invokes the Supplier to generate a new entry if it is expired.static <V> VersionedCacheEntry<V>
VersionedCacheEntry. of(CacheEntry<? extends V> other)
Returns either the current object, if it is already a VersionedCacheEntry, or a newly constructed copy of it.Method parameters in com.identityworksllc.iiq.common.cache with type arguments of type CacheEntry Modifier and Type Method Description static <T> CacheEntry<T>
CacheEntry. computeIfExpired(CacheEntry<T> entry, Supplier<CacheEntry<T>> valueSupplier)
Returns either the entry (if it is not null and not expired), or invokes the Supplier to generate a new entry if it is expired.Constructors in com.identityworksllc.iiq.common.cache with parameters of type CacheEntry Constructor Description CacheEntry(CacheEntry<? extends T> other)
Copy constructorVersionedCacheEntry(CacheEntry<? extends T> entry)
Copy constructor for another cache entry.
-