13.5. Expiration Configuration
In JBoss Data Grid, expiration is configured in a manner similar to eviction.
Library Mode Configuration:
The following sample configuration depicts how to configure expiration in JBoss Data Grid's Library Mode:
<expiration lifespan="2000" maxIdle="1000" />
Remote Client-Server Mode Configuration:
The following sample configuration depicts how to configure expiration in JBoss Data Grids' Remote Client-Server Mode:
<expiration lifespan="2000" max-idle="1000" />