Uses of Class
com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration
Packages that use CaffeineConfiguration
Package
Description
-
Uses of CaffeineConfiguration in com.github.benmanes.caffeine.jcache
Constructors in com.github.benmanes.caffeine.jcache with parameters of type CaffeineConfigurationModifierConstructorDescriptionCacheProxy(String name, Executor executor, CacheManager cacheManager, CaffeineConfiguration<K, V> configuration, Cache<K, @Nullable Expirable<V>> cache, EventDispatcher<K, V> dispatcher, Optional<CacheLoader<K, V>> cacheLoader, ExpiryPolicy expiry, Ticker ticker, JCacheStatisticsMXBean statistics) LoadingCacheProxy(String name, Executor executor, CacheManager cacheManager, CaffeineConfiguration<K, V> configuration, LoadingCache<K, @Nullable Expirable<V>> cache, EventDispatcher<K, V> dispatcher, CacheLoader<K, V> cacheLoader, ExpiryPolicy expiry, Ticker ticker, JCacheStatisticsMXBean statistics) -
Uses of CaffeineConfiguration in com.github.benmanes.caffeine.jcache.configuration
Methods in com.github.benmanes.caffeine.jcache.configuration that return CaffeineConfigurationModifier and TypeMethodDescriptionCaffeineConfiguration.addCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) static <K,V> CaffeineConfiguration <K, V> Retrieves the default cache settings from the configuration resource.CaffeineConfiguration.immutableCopy()Returns an unmodifiable copy of this configuration.CaffeineConfiguration.removeCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) CaffeineConfiguration.setCacheLoaderFactory(@Nullable Factory<? extends CacheLoader<K, V>> factory) CaffeineConfiguration.setCacheWriterFactory(@Nullable Factory<? extends CacheWriter<? super K, ? super V>> factory) CaffeineConfiguration.setCopierFactory(Factory<Copier> factory) CaffeineConfiguration.setExecutorFactory(Factory<Executor> factory) CaffeineConfiguration.setExpireAfterAccess(OptionalLong expireAfterAccessNanos) Set the expire after write in nanoseconds.CaffeineConfiguration.setExpireAfterWrite(OptionalLong expireAfterWriteNanos) Set the expire after write in nanoseconds.CaffeineConfiguration.setExpiryPolicyFactory(@Nullable Factory<? extends ExpiryPolicy> factory) CaffeineConfiguration.setManagementEnabled(boolean enabled) CaffeineConfiguration.setMaximumSize(OptionalLong maximumSize) Set the maximum size.CaffeineConfiguration.setMaximumWeight(OptionalLong maximumWeight) Set the maximum weight.CaffeineConfiguration.setNativeStatisticsEnabled(boolean enabled) Sets whether native statistics gathering is enabled on a cache.CaffeineConfiguration.setReadThrough(boolean isReadThrough) CaffeineConfiguration.setRefreshAfterWrite(OptionalLong refreshAfterWriteNanos) Set the refresh after write in nanoseconds.CaffeineConfiguration.setSchedulerFactory(Factory<Scheduler> factory) CaffeineConfiguration.setStatisticsEnabled(boolean enabled) CaffeineConfiguration.setStoreByValue(boolean isStoreByValue) CaffeineConfiguration.setTickerFactory(Factory<Ticker> factory) CaffeineConfiguration.setWriteThrough(boolean isWriteThrough) Methods in com.github.benmanes.caffeine.jcache.configuration that return types with arguments of type CaffeineConfigurationModifier and TypeMethodDescriptionstatic <K,V> Optional <CaffeineConfiguration<K, V>> Retrieves the cache's settings from the configuration resource if defined.