Uses of Enum Class
org.restheart.cache.Cache.EXPIRE_POLICY
Packages that use Cache.EXPIRE_POLICY
Package
Description
Cache abstraction layer classes that makes possible injecting the actual cache implementation via configuration.
Actual caches implementations.
-
Uses of Cache.EXPIRE_POLICY in org.restheart.cache
Methods in org.restheart.cache that return Cache.EXPIRE_POLICYModifier and TypeMethodDescriptionstatic Cache.EXPIRE_POLICYReturns the enum constant of this class with the specified name.static Cache.EXPIRE_POLICY[]Cache.EXPIRE_POLICY.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.restheart.cache with parameters of type Cache.EXPIRE_POLICYModifier and TypeMethodDescriptionstatic <K,V> Cache <K, V> CacheFactory.createLocalCache(long size, Cache.EXPIRE_POLICY expirePolicy, long ttl) static <K,V> Cache <K, V> CacheFactory.createLocalCache(long size, Cache.EXPIRE_POLICY expirePolicy, long ttl, Consumer<Map.Entry<K, Optional<V>>> remover) static <K,V> LoadingCache <K, V> CacheFactory.createLocalLoadingCache(long size, Cache.EXPIRE_POLICY expirePolicy, long ttl, Function<K, V> loader) -
Uses of Cache.EXPIRE_POLICY in org.restheart.cache.impl
Constructors in org.restheart.cache.impl with parameters of type Cache.EXPIRE_POLICYModifierConstructorDescriptionCaffeineCache(long size, Cache.EXPIRE_POLICY expirePolicy, long ttl) CaffeineCache(long size, Cache.EXPIRE_POLICY expirePolicy, long ttl, Consumer<Map.Entry<K, Optional<V>>> remover) CaffeineLoadingCache(long size, Cache.EXPIRE_POLICY expirePolicy, long ttl, Function<K, V> loader)