Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
12.5.2. Default Eviction Configuration
In JBoss Data Grid, eviction is disabled by default. If an empty
eviction element is used to enable eviction, the following default values are used:
- Strategy: If no eviction strategy is specified,
EvictionStrategy.NONEis assumed as a default. - max-entries: If no value is specified, the
max-entriesvalue is set to-1, which allows unlimited entries.- Set the
max-entriesvalue to0to disallow any entries. As a result, the eviction thread strives to keep the cache empty.