Class CacheFactory<K,V>
java.lang.Object
org.wildfly.clustering.cache.caffeine.CacheFactory<K,V>
- Type Parameters:
K- the cache key typeV- the cache value type
- All Implemented Interfaces:
Function<CacheConfiguration<K,V>, com.github.benmanes.caffeine.cache.Cache<K, V>>, Function<CacheConfiguration<K, V>, com.github.benmanes.caffeine.cache.Cache<K, V>>
public class CacheFactory<K,V>
extends Object
implements Function<CacheConfiguration<K,V>, com.github.benmanes.caffeine.cache.Cache<K,V>>
A factory for creating a Caffeine cache using a given configuration.
- Author:
- Paul Ferraro
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Function
andThen, compose, compose, handle, optional, orDefault, withDefault, withMonitor
-
Constructor Details
-
CacheFactory
public CacheFactory()Constructs a new cache factory.
-
-
Method Details
-
apply
-