The JCache configuration implements javax.cache.configuration.Configuration or, more often, javax.cache.configuration.CompleteConfiguration. This specification provides the MutableConfiguration implementation, which provides a fluent DSL to configure the configuration. Here are the main entry points:
Configuration
|
Description
|
key type/value type | Allows to enforce the keys/values to respect a typing. If a key or value doesn't respect the configuration type then it will be rejected (the put will fail). |
store by value | If true, it will copy the values to prevent them from being mutable (which is the case in store by reference mode). It is faster to store by reference, but in such a case, it is recommended to ensure ... |