-
Set a hint for the cache regarding how long entries should be held in the cache.
Set a hint for the cache regarding how long entries should be held in the cache.
Indicates that this cache can be flushed by the cache manager when desired.
CacheSettingsBuilder.local()
Indicates that this cache should be local to the node (JVM) where the cache is created.
Indicates that this cache can have a maximum number of entries.
Indicates that this cache should be clustered in a clustered deployment.
Indicates that in a clustered environment with replicated caches, this
cache should replicate asynchronously.
Indicates that in a clustered environment with replicated caches, this
cache should replicate synchronously.
Indicates that in a clustered environment with replicated caches, this
cache should replicate put and update operations by copying the relevant
key and value across the wire (requiring both of them to be
Serializable).
Indicates that in a clustered environment with replicated caches, this
cache should replicate by sending only the key across the wire, for invalidation by
the other nodes in the cluster; this requires only the key to be
Serializable.
Indicates that this cache should not record statistics.
Indicates that this cache should record statistics.
Indicates that this cache cannot be flushed by the cache manager when desired.