Show Table of Contents
4.3. Eviction and Expiration Comparison
Expiration is a top-level construct in Red Hat JBoss Data Grid, and is represented in the global configuration, as well as the cache API.
Eviction is limited to the cache instance it is used in, whilst expiration is cluster-wide. Expiration life spans (
lifespan) and idle time (
maxIdlein Library Mode and
max-idlein Remote Client-Server Mode) values are replicated alongside each cache entry.