]
William Burns updated ISPN-5509:
--------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request:
Memory based eviction doesn't work with store as binary
-------------------------------------------------------
Key: ISPN-5509
URL:
https://issues.jboss.org/browse/ISPN-5509
Project: Infinispan
Issue Type: Enhancement
Components: Eviction
Affects Versions: 8.0.0.Alpha1
Reporter: William Burns
Assignee: William Burns
Priority: Critical
Fix For: 8.0.0.Alpha2
The memory based eviction only currently works with byte[] for key and values.
We would like this also to support any key/value pair when store as binary is enabled.
We would need to add a EntrySizeCalculator that would support MarshalledValue, the various
MarshalledValueByteStream classes as well as all the types that MarshalledValue
doesn't wrap (ie. Integer, Long etc.)