]
Donald Naro updated ISPN-12637:
-------------------------------
Status: Open (was: New)
Remove superfluous config example from eviction content
-------------------------------------------------------
Key: ISPN-12637
URL:
https://issues.redhat.com/browse/ISPN-12637
Project: Infinispan
Issue Type: Enhancement
Components: Documentation
Affects Versions: 12.0.0.CR1
Reporter: Donald Naro
Assignee: Donald Naro
Priority: Major
Fix For: 12.0.0.Final, 11.0.10.Final
https://infinispan.org/docs/stable/titles/configuring/configuring.html#cu...
Remove the following section from the configuration guide:
Custom Classes with Memory-Based Eviction
You must use binary or off-heap storage memory based eviction, as in the following
examples:
Declarative configuration
<!-- Enable memory based eviction with 1 GB/> -->
<memory>
<binary size="1000000000" eviction="MEMORY"/>
</memory>
Programmatic configuration
Configuration c = new ConfigurationBuilder()
.memory()
.storageType(StorageType.BINARY)
.evictionType(EvictionType.MEMORY)
.size(1_000_000_000)
.build();