Skip to main content

Source code revision

svn

summary: Issue number: CACHE-170 Submitted by: Guillaume Berche
revision: 202
author: dres
date: 2005-04-29 07:23:47 UTC (10 years)
message: Issue number: CACHE-170
Submitted by: Guillaume Berche
Reviewed by: Andres March

Had to change the management of the update states to ensure 2 states are not created for the same key, thereby keeping threads from being notified properly. One thing to revisit is the placement of the startUpdate call. Realistically this should be at the beginning of the put() but I think this will perform better and should not cause problems.
Change Path Actions
M trunk/build.xml
M trunk/src/core/java/com/opensymphony/oscache/base/Cache.java
M trunk/src/core/test/com/opensymphony/oscache/base/GroupConcurrencyProblemTestCase.java
M trunk/src/core/test/com/opensymphony/oscache/base/TestConcurrency.java
 
 
Close
loading
Please Confirm
Close