EhCache implemenation for multimap
posted 2 years ago
Hi, I need to represent in memory a table structure and while I can use a hashmap of a hashmap to do this, my initial search online suggests that there will be threading issues for concurrent access. In addition, I'd like to be able to assign call backs upon updates and it appears EhCache provides this out of the box, amongst other good features such as cache replication for clustering. So I went on to try to find some code samples for EhCache for representing a table in memory that will be thread safe and allow concurrent read / write without luck. Am new to EhCache. Can someone point me to any code samples that illustrate how this can be done via EhCache? Thanks.