[jboss-cvs] JBossCache/src/org/jboss/cache/loader ...
Manik Surtani
msurtani at jboss.com
Wed Jan 3 10:33:09 EST 2007
User: msurtani
Date: 07/01/03 10:33:09
Modified: src/org/jboss/cache/loader CacheLoaderManager.java
RpcDelegatingCacheLoaderConfig.java
AsyncCacheLoader.java
AbstractDelegatingCacheLoader.java
TcpDelegatingCacheLoaderConfig.java
RmiDelegatingCacheLoaderConfig.java
Log:
Improved notification mechanism, added a notification interceptor
Revision Changes Path
1.28 +8 -8 JBossCache/src/org/jboss/cache/loader/CacheLoaderManager.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheLoaderManager.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/loader/CacheLoaderManager.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- CacheLoaderManager.java 25 Oct 2006 04:53:08 -0000 1.27
+++ CacheLoaderManager.java 3 Jan 2007 15:33:09 -0000 1.28
@@ -8,9 +8,9 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import org.jboss.cache.CacheListener;
import org.jboss.cache.CacheSPI;
import org.jboss.cache.Fqn;
-import org.jboss.cache.CacheListener;
import org.jboss.cache.config.CacheLoaderConfig;
import org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig;
1.2 +14 -12 JBossCache/src/org/jboss/cache/loader/RpcDelegatingCacheLoaderConfig.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: RpcDelegatingCacheLoaderConfig.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/loader/RpcDelegatingCacheLoaderConfig.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- RpcDelegatingCacheLoaderConfig.java 26 Oct 2006 19:30:20 -0000 1.1
+++ RpcDelegatingCacheLoaderConfig.java 3 Jan 2007 15:33:09 -0000 1.2
@@ -1,13 +1,15 @@
package org.jboss.cache.loader;
-import java.util.Properties;
-
-import org.jboss.cache.config.Dynamic;
import org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig;
+import org.jboss.cache.config.Dynamic;
+
+import java.util.Properties;
public class RpcDelegatingCacheLoaderConfig extends IndividualCacheLoaderConfig
{
- /** The serialVersionUID */
+ /**
+ * The serialVersionUID
+ */
private static final long serialVersionUID = -3425487656984237468L;
@Dynamic
1.25 +12 -12 JBossCache/src/org/jboss/cache/loader/AsyncCacheLoader.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AsyncCacheLoader.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/loader/AsyncCacheLoader.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- AsyncCacheLoader.java 8 Dec 2006 18:49:17 -0000 1.24
+++ AsyncCacheLoader.java 3 Jan 2007 15:33:09 -0000 1.25
@@ -20,8 +20,8 @@
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.TimeUnit;
-import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicBoolean;
+import java.util.concurrent.atomic.AtomicInteger;
/**
* The AsyncCacheLoader is a delegating cache loader that extends
1.4 +9 -9 JBossCache/src/org/jboss/cache/loader/AbstractDelegatingCacheLoader.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AbstractDelegatingCacheLoader.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/loader/AbstractDelegatingCacheLoader.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- AbstractDelegatingCacheLoader.java 23 Oct 2006 05:46:39 -0000 1.3
+++ AbstractDelegatingCacheLoader.java 3 Jan 2007 15:33:09 -0000 1.4
@@ -9,20 +9,20 @@
import org.jboss.cache.CacheSPI;
import org.jboss.cache.Fqn;
import org.jboss.cache.Modification;
-import org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig;
import org.jboss.cache.RegionManager;
+import org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig;
-import java.util.Set;
-import java.util.Map;
-import java.util.List;
-import java.io.ObjectOutputStream;
import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
/**
* AbstractDelegatingCacheLoader provides standard functionality for a cache loader that simply delegates each
* operation defined in the cache loader interface to the underlying cache loader, basically acting as a proxy to the
* real cache loader.
- *
+ * <p/>
* Any cache loader implementation that extends this class would be required to override any of the methods in
* order to provide a different or added behaviour.
*
1.2 +4 -4 JBossCache/src/org/jboss/cache/loader/TcpDelegatingCacheLoaderConfig.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TcpDelegatingCacheLoaderConfig.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/loader/TcpDelegatingCacheLoaderConfig.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- TcpDelegatingCacheLoaderConfig.java 26 Oct 2006 19:30:20 -0000 1.1
+++ TcpDelegatingCacheLoaderConfig.java 3 Jan 2007 15:33:09 -0000 1.2
@@ -1,9 +1,9 @@
package org.jboss.cache.loader;
-import java.util.Properties;
-
import org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig;
+import java.util.Properties;
+
public class TcpDelegatingCacheLoaderConfig extends IndividualCacheLoaderConfig
{
/**
1.2 +15 -13 JBossCache/src/org/jboss/cache/loader/RmiDelegatingCacheLoaderConfig.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: RmiDelegatingCacheLoaderConfig.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/loader/RmiDelegatingCacheLoaderConfig.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- RmiDelegatingCacheLoaderConfig.java 26 Oct 2006 19:30:20 -0000 1.1
+++ RmiDelegatingCacheLoaderConfig.java 3 Jan 2007 15:33:09 -0000 1.2
@@ -1,12 +1,14 @@
package org.jboss.cache.loader;
-import java.util.Properties;
-
import org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig;
+import java.util.Properties;
+
public class RmiDelegatingCacheLoaderConfig extends IndividualCacheLoaderConfig
{
- /** The serialVersionUID */
+ /**
+ * The serialVersionUID
+ */
private static final long serialVersionUID = 4578924632178739084L;
private String host = "localhost";
More information about the jboss-cvs-commits
mailing list