- An entry does not expire forever when "lifespan=0" is specified to
cache.put()in JDG client-server mode.
- Java API doc BasicCache#put() says "Negative values are interpreted as unlimited lifespan" for lifespan parameter. As 0 is not a negative value, I think an entry expires immediately when "lifespan=0" is specified to
putIfAbsent(), etc). However, the entry actually does not expire foreever. And the metadata of the entry returned "lifespan=-1".
- Red Hat JBoss Data Grid (JDG)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.