Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EhCache implemenation for multimap  RSS feed

Mike Cheung
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!