Uses of Class
com.github.benmanes.caffeine.jcache.Expirable
-
Packages that use Expirable Package Description com.github.benmanes.caffeine.jcache com.github.benmanes.caffeine.jcache.event com.github.benmanes.caffeine.jcache.integration -
-
Uses of Expirable in com.github.benmanes.caffeine.jcache
Fields in com.github.benmanes.caffeine.jcache with type parameters of type Expirable Modifier and Type Field Description (package private) Cache<K,Expirable<V>>
CacheProxy. cache
(package private) LoadingCache<K,Expirable<V>>
LoadingCacheProxy. cache
(package private) @Nullable java.util.Map.Entry<K,Expirable<V>>
CacheProxy.EntryIterator. current
(package private) @Nullable java.util.Map.Entry<K,Expirable<V>>
CacheProxy.EntryIterator. cursor
(package private) java.util.Iterator<java.util.Map.Entry<K,Expirable<V>>>
CacheProxy.EntryIterator. delegate
Methods in com.github.benmanes.caffeine.jcache that return Expirable Modifier and Type Method Description private @Nullable Expirable<V>
CacheProxy. postProcess(Expirable<V> expirable, EntryProcessorEntry<K,V> entry, long currentTimeMS)
Returns the updated expirable value after performing the post processing actions.Methods in com.github.benmanes.caffeine.jcache that return types with arguments of type Expirable Modifier and Type Method Description protected java.util.Map<K,Expirable<V>>
CacheProxy. getAndFilterExpiredEntries(java.util.Set<? extends K> keys, boolean updateAccessTime)
Returns all of the mappings present, expiring as required, and optionally updates their access expiry time.Methods in com.github.benmanes.caffeine.jcache with parameters of type Expirable Modifier and Type Method Description protected @Nullable V
CacheProxy. copyValue(@Nullable Expirable<V> expirable)
Returns a copy of the value if value-based caching is enabled.long
CacheFactory.ExpirableToExpiry. expireAfterCreate(K key, Expirable<V> expirable, long currentTime)
long
CacheFactory.ExpiryAdapter. expireAfterCreate(K key, Expirable<V> expirable, long currentTime)
long
CacheFactory.ExpirableToExpiry. expireAfterRead(K key, Expirable<V> expirable, long currentTime, long currentDuration)
long
CacheFactory.ExpiryAdapter. expireAfterRead(K key, Expirable<V> expirable, long currentTime, long currentDuration)
long
CacheFactory.ExpirableToExpiry. expireAfterUpdate(K key, Expirable<V> expirable, long currentTime, long currentDuration)
long
CacheFactory.ExpiryAdapter. expireAfterUpdate(K key, Expirable<V> expirable, long currentTime, long currentDuration)
private @Nullable Expirable<V>
CacheProxy. postProcess(Expirable<V> expirable, EntryProcessorEntry<K,V> entry, long currentTimeMS)
Returns the updated expirable value after performing the post processing actions.protected void
CacheProxy. setAccessExpirationTime(K key, Expirable<?> expirable, long currentTimeMS)
Sets the access expiration time.private long
CacheFactory.ExpirableToExpiry. toNanos(Expirable<V> expirable)
Method parameters in com.github.benmanes.caffeine.jcache with type arguments of type Expirable Modifier and Type Method Description protected java.util.Map<K,V>
CacheProxy. copyMap(java.util.Map<K,Expirable<V>> map)
Returns a deep copy of the map if value-based caching is enabled.Constructor parameters in com.github.benmanes.caffeine.jcache with type arguments of type Expirable Constructor Description CacheProxy(java.lang.String name, java.util.concurrent.Executor executor, javax.cache.CacheManager cacheManager, CaffeineConfiguration<K,V> configuration, Cache<K,Expirable<V>> cache, EventDispatcher<K,V> dispatcher, java.util.Optional<javax.cache.integration.CacheLoader<K,V>> cacheLoader, javax.cache.expiry.ExpiryPolicy expiry, Ticker ticker, JCacheStatisticsMXBean statistics)
LoadingCacheProxy(java.lang.String name, java.util.concurrent.Executor executor, javax.cache.CacheManager cacheManager, CaffeineConfiguration<K,V> configuration, LoadingCache<K,Expirable<V>> cache, EventDispatcher<K,V> dispatcher, javax.cache.integration.CacheLoader<K,V> cacheLoader, javax.cache.expiry.ExpiryPolicy expiry, Ticker ticker, JCacheStatisticsMXBean statistics)
-
Uses of Expirable in com.github.benmanes.caffeine.jcache.event
Methods in com.github.benmanes.caffeine.jcache.event with parameters of type Expirable Modifier and Type Method Description void
JCacheEvictionListener. onRemoval(K key, @Nullable Expirable<V> expirable, RemovalCause cause)
-
Uses of Expirable in com.github.benmanes.caffeine.jcache.integration
Methods in com.github.benmanes.caffeine.jcache.integration that return Expirable Modifier and Type Method Description @Nullable Expirable<V>
JCacheLoaderAdapter. load(K key)
Methods in com.github.benmanes.caffeine.jcache.integration that return types with arguments of type Expirable Modifier and Type Method Description java.util.Map<K,Expirable<V>>
JCacheLoaderAdapter. loadAll(java.lang.Iterable<? extends K> keys)
-