Hi , do you mean changing the implementation of CacheMgt and CCache to use a library?
From what I know the local implementation of cache comes from compiere times - most probably JCache was not there when JJ wrote this. It sounds good if it can be made replaceable, maybe CCache can be moved as an implementation of JCache and then it can be replaced easily?
Hiep Lq
December 7, 2018 at 5:00 AM
current expire implement per Cache bag object, isn't per item inside. each time get/put a item to bag, expire time is check. so when a bag is reach expire time, a very new item inside bag can be expire also
idempiere use hazelcast for distribute cache, but use internal code for local cache.
nowadays jcache is standardize api on java and implement by a lot provide.
hazelcast also have one implement for it.
so ít's better for idempiere to use that library. help standardize and easy configuration
https://docs.hazelcast.org/docs/3.11/manual/html-single/index.html#hazelcast-jcache