aspose file tools
The moose likes EhCache and the fly likes EhCache implemenation for multimap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Caching » EhCache
Bookmark "EhCache implemenation for multimap" Watch "EhCache implemenation for multimap" New topic

EhCache implemenation for multimap

Mike Cheung
Ranch Hand

Joined: Feb 01, 2013
Posts: 103
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.
I agree. Here's the link:
subject: EhCache implemenation for multimap