Author: tkimura(a)redhat.com
Date: 2009-06-23 04:42:25 -0400 (Tue, 23 Jun 2009)
New Revision: 8120
Modified:
core/trunk/src/main/java/org/jboss/cache/interceptors/CacheStoreInterceptor.java
Log:
[JBCACHE-1516] Modified txStores field to use ConcurrentHashMap class
Modified:
core/trunk/src/main/java/org/jboss/cache/interceptors/CacheStoreInterceptor.java
===================================================================
---
core/trunk/src/main/java/org/jboss/cache/interceptors/CacheStoreInterceptor.java 2009-06-23
08:42:05 UTC (rev 8119)
+++
core/trunk/src/main/java/org/jboss/cache/interceptors/CacheStoreInterceptor.java 2009-06-23
08:42:25 UTC (rev 8120)
@@ -59,6 +59,7 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
+import java.util.concurrent.ConcurrentHashMap;
/**
* Writes modifications back to the store on the way out: stores modifications back
@@ -71,7 +72,7 @@
{
private CacheLoaderConfig loaderConfig = null;
protected TransactionManager txMgr = null;
- private HashMap txStores = new HashMap();
+ private Map txStores = new ConcurrentHashMap();
private long cacheStores = 0;
CacheLoader loader;
private CacheLoaderManager loaderManager;
Show replies by date