Class CacheFactory<K,V>

java.lang.Object
org.wildfly.clustering.cache.caffeine.CacheFactory<K,V>
Type Parameters:
K - the cache key type
V - 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
  • Constructor Details

    • CacheFactory

      public CacheFactory()
      Constructs a new cache factory.
  • Method Details