I would like a cache library in Java with the following features:
- Create multiple caches
- The size of all the caches together should be limited by a memory (e.g. 10GB)
- The caches should remain in heap
I know of Ignite cache, which supports the first 2 bullets, but is an off-heap cache, involving serialization and deserialization.
EhCache support a memory limit, but for each individual cache.