Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Robert Richardson   on Sep 18 In Java Category.

  
Question Answered By: Bonnie Hughes   on Sep 18

As I know, there is no pre-built structure  satisfying your requirements (at least in JDK). you have to wrap your map  by your own-built class and for locking use java.sun.com/.../ReentrantReadWriteLock.html. With this class you can completely control your read- and write-locking. The class' javadoc has some samples. I found them useful.

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on A question on Synchronization Or get search suggestion and latest updates.


Tagged: