See: Description
| Interface | Description | 
|---|---|
| CacheEntryListenerConfiguration<K,V> | Defines the configuration requirements for a
  CacheEntryListenerand aFactoryfor its
 creation. | 
| CompleteConfiguration<K,V> | A read-only representation of the complete JCache  Cacheconfiguration. | 
| Configuration<K,V> | A basic read-only representation of a  Cacheconfiguration. | 
| Factory<T> | Constructs and returns a fully configured instance of a specific factory type. | 
| Class | Description | 
|---|---|
| FactoryBuilder | A convenience class that defines generically typed static methods to aid in
 the building of  Factoryinstances. | 
| FactoryBuilder.ClassFactory<T> | A  Factorythat instantiates a specific Class. | 
| FactoryBuilder.SingletonFactory<T> | A  Factorythat always returns a specific instance. | 
| MutableCacheEntryListenerConfiguration<K,V> | A convenience class providing a mutable, serializable implementation of a
  CacheEntryListenerConfiguration. | 
| MutableConfiguration<K,V> | A simple mutable implementation of a  Configuration. | 
| Enum | Description | 
|---|---|
| OptionalFeature | Optional features that may be present in an implementation. | 
Rather than configuration accepting user instances of interfaces for maximum portability factories are configured instead, so that instances can be instantiated where needed. To aid in this, FactoryBuilder can build factories of the required type as shown in the following example.
  MutableConfiguration<String, Integer> config = new MutableConfiguration<String, Integer>();
  config.setTypes(String.class, Integer.class)
        .setStoreByValue(false)
        .setStatisticsEnabled(true)
        .setExpiryPolicyFactory(FactoryBuilder.factoryOf(
            new AccessedExpiryPolicy<String>(new Duration(TimeUnit.HOURS, 1))));
 
 OptionalFeature, though not specific to
 cache configuration, allows application to determine the optional features
 supported at runtime.
Copyright © 2019. All rights reserved.