Uses of Class
org.restheart.cache.Cache.EXPIRE_POLICY
-
Packages that use Cache.EXPIRE_POLICY Package Description org.restheart.cache Cache abstraction layer classes that makes possible injecting the actual cache implementation via configuration.org.restheart.cache.impl Wrappers of actual caches implementations. -
-
Uses of Cache.EXPIRE_POLICY in org.restheart.cache
Methods in org.restheart.cache that return Cache.EXPIRE_POLICY Modifier and Type Method Description static Cache.EXPIRE_POLICYCache.EXPIRE_POLICY. valueOf(String name)Returns the enum constant of this type with the specified name.static Cache.EXPIRE_POLICY[]Cache.EXPIRE_POLICY. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.restheart.cache with parameters of type Cache.EXPIRE_POLICY Modifier and Type Method Description static <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_POLICY Constructor Description GuavaCache(long size, Cache.EXPIRE_POLICY expirePolicy, long ttl)GuavaCache(long size, Cache.EXPIRE_POLICY expirePolicy, long ttl, Consumer<Map.Entry<K,Optional<V>>> remover)GuavaLoadingCache(long size, Cache.EXPIRE_POLICY expirePolicy, long ttl, Function<K,V> loader)
-