Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
16.6. Mortal and Immortal Data
16.6.1. About Data Mortality Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
In addition to storing entities, JBoss Data Grid allows you to attach mortality information to data. For example, using the standard
put(key, value) creates an entry that will never expire, called an immortal entry. Alternatively, an entry created using put(key, value, lifespan, timeunit) is a mortal entry that has a specified fixed life span, after which it expires.
In addition to the
lifespan parameter, JBoss Data Grid also provides a maxIdle parameter used to determine expiration. The maxIdle and lifespan parameters can be used in various combinations to set the life span of an entry.