Index
All Classes and Interfaces|All Packages
A
- apply(CacheConfiguration) - Method in class org.wildfly.clustering.cache.caffeine.CacheFactory
B
- build() - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Builds a cache configuration.
- builder() - Static method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration
-
Creates a builder of cache configuration.
C
- CacheConfiguration<K,
V> - Interface in org.wildfly.clustering.cache.caffeine -
Encapsulates the configuration of a Caffeine cache.
- CacheConfiguration.Builder<K,
V> - Interface in org.wildfly.clustering.cache.caffeine -
A builder of a Caffeine cache configuration.
- CacheFactory<K,
V> - Class in org.wildfly.clustering.cache.caffeine -
A factory for creating a Caffeine cache using a given configuration.
- CacheFactory() - Constructor for class org.wildfly.clustering.cache.caffeine.CacheFactory
-
Constructs a new cache factory.
E
- evictableWhen(BiPredicate) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines a predicate indicating whether a given entry is evictable.
- evictableWhen(Predicate) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines a predicate indicating whether a given entry is evictable.
- evictAfter(Duration) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines a duration of time after which idle entries should be auto-evicted.
- evictAfter(BiFunction) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines a function returning the duration of time after which a given idle entry should be auto-evicted.
- evictAfter(Function) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines a function returning the duration of time after which a given idle entry should be auto-evicted.
G
- getEvictionListener() - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration
-
When present, defines a listener to be notified on entry eviction.
- getExpiry() - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration
-
Returns the expiry logic of this cache.
- getMaxWeight() - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration
-
When present, defines the maximum weight for entries within this cache.
- getRemovalListener() - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration
-
When present, defines a listener to be notified on entry removal.
- getScheduler() - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration
-
Returns a scheduler of asynchronous tasks.
- getWeigher() - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration
-
Returns a weigher of cache entries.
O
- org.wildfly.clustering.cache.caffeine - package org.wildfly.clustering.cache.caffeine
W
- whenEvicted(RemovalListener) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines a listener to be notified on entry eviction.
- whenEvicted(BiConsumer) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines a consumer to be notified on entry eviction.
- whenRemoved(RemovalListener) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines a listener to be notified on entry removal.
- whenRemoved(BiConsumer) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines a consumer to be notified on entry removal.
- withExecutor(ScheduledExecutorService) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines an executor for use with time-based eviction.
- withExpiry(Expiry) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines the logic used to determine the duration of time after which a given idle entry should be auto-evicted.
- withMaxWeight(long) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines the maximum weight of entries in the cache
- withScheduler(Scheduler) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines a scheduler for use with time-based eviction.
- withWeigher(Weigher) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines a weigher used to determine the weight a given cache entry.
- withWeight(ToIntBiFunction) - Method in interface org.wildfly.clustering.cache.caffeine.CacheConfiguration.Builder
-
Defines a function used to determine the weight of a given cache entry.
All Classes and Interfaces|All Packages