Class CaffeineConfiguration<K,V>

java.lang.Object
com.github.benmanes.caffeine.jcache.configuration.CaffeineConfiguration<K,V>
All Implemented Interfaces:
Serializable, CompleteConfiguration<K,V>, Configuration<K,V>

@NullMarked public final class CaffeineConfiguration<K,V> extends Object implements CompleteConfiguration<K,V>
A JCache configuration with Caffeine specific settings.

The initial settings disable store by value so that entries are not copied when crossing the Cache API boundary. If enabled and the Copier is not explicitly set, then the JavaSerializationCopier will be used. This differs from MutableConfiguration which enables store by value at construction.

See Also: