[jboss-cvs] JBossCache/src/org/jboss/cache ...
Manik Surtani
msurtani at jboss.com
Mon Nov 13 09:47:52 EST 2006
User: msurtani
Date: 06/11/13 09:47:52
Modified: src/org/jboss/cache CacheSPI.java Cache.java
Log:
Moved getLocalAddress() and getMembers() to Cache instead of CacheSPI
Revision Changes Path
1.19 +0 -11 JBossCache/src/org/jboss/cache/CacheSPI.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheSPI.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/CacheSPI.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- CacheSPI.java 18 Oct 2006 11:07:54 -0000 1.18
+++ CacheSPI.java 13 Nov 2006 14:47:52 -0000 1.19
@@ -13,7 +13,6 @@
import org.jboss.cache.marshall.MethodCall;
import org.jboss.cache.notifications.Notifier;
import org.jboss.cache.statetransfer.StateTransferManager;
-import org.jgroups.Address;
import java.util.List;
import java.util.Map;
@@ -81,16 +80,6 @@
StateTransferManager getStateTransferManager();
/**
- * @return the local address of this cache in a cluster. Null if running in local mode.
- */
- Object getLocalAddress();
-
- /**
- * @return a {@link List} of members in the cluster. Null if running in local mode.
- */
- List<Address> getMembers();
-
- /**
* @return the name of the cluster. Null if running in local mode.
*/
String getClusterName();
1.14 +11 -1 JBossCache/src/org/jboss/cache/Cache.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Cache.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/Cache.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- Cache.java 2 Nov 2006 12:35:23 -0000 1.13
+++ Cache.java 13 Nov 2006 14:47:52 -0000 1.14
@@ -7,6 +7,7 @@
package org.jboss.cache;
import org.jboss.cache.config.Configuration;
+import org.jgroups.Address;
import javax.transaction.TransactionManager;
import java.util.List;
@@ -87,7 +88,6 @@
*/
Set<CacheListener> getCacheListeners(Fqn region);
-
/**
* Convenience method that allows for direct access to the data in a {@link Node}.
*
@@ -209,4 +209,14 @@
* @param ctx
*/
void setInvocationContext(InvocationContext ctx);
+
+ /**
+ * @return the local address of this cache in a cluster. Null if running in local mode.
+ */
+ Object getLocalAddress();
+
+ /**
+ * @return a {@link List} of members in the cluster. Null if running in local mode.
+ */
+ List<Address> getMembers();
}
More information about the jboss-cvs-commits
mailing list