|
All content with label faq-code-examples+expiry.
Related Labels:
review
, namedcache
, javabean
, synchronize
, coherence-cache-config
, cluster
, backing-map
, deployment
, cachestore
, extend
, hibernate
, expiration
, mutex
, troubleshooting
, serialization
, cache
, size
, jmx
, invocation
,
partition
, example
, faq-config
, wan
, keys
, cache-size
, version
, mutext
, shutdown
, optimization
, singleton
, security
, compatible
more »
( - faq-code-examples
, - expiry
)
How do I control the expiry of a cached object by type?
(Coherence FAQ)
attached example AutoExpiryLocalCache.java demonstrates the "different object type, different expiry length" implementation. The example configuration exampleautoexpirylocalcache.xml shows String objects being cached for 3 minutes and Integer objects being cached for 10. To use a default expiry, make ...
|
|
|