Global Caches

Global caches are created with a call to the get() method of the cache group. If a cache does not exist already, a cache is created and configuration data, if this exists, is applied to it before being returned. Global caches are usually populated using cache loaders registered by cache clients. This approach isolates the cache client from the management of concurrent access to the cache while the cache is loading.

Cúram Cache does not enforce the use of serializable objects in its API, however certain features offered by the caching infrastructure are only available if the key or the cached object are serializable. For this reason, it is recommended that, whenever possible, serializable keys and values should be used in Cúram Cache.

Usage of non-serializable keys: Cache entries that have non-serializable keys are only invalidated on the local JVM and not throughout the application server cluster.