I have been working on adding in off heap support for a given cache. I wanted to check in and let you all know what I was thinking for the configuration and changes that would come about with it.
TLDR;
New config under data container to enable off heap, StoreAsBinary removed, Equivalence removed
First I was planning on adding new sub elements of data container. These would be instance, binary and off-heap. Only of the three could be picked as they are mutually exclusive. Instance is as we operate now where we store the instance of the object passed to us. Binary is essentially what we have now that is called storeAsBinary with both keys and values converted. Lastly off-heap would store the entry as a byte[] store completely in native memory.