JCache configuration

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 ...

Get Java EE 8 High Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.