[jboss-cvs] JBossCache/src/org/jboss/cache ...
Elias Ross
genman at noderunner.net
Wed Nov 29 17:12:44 EST 2006
User: genman
Date: 06/11/29 17:12:44
Modified: src/org/jboss/cache NodeSPI.java
Log:
JBCACHE-888 - Add getData/setDataLoaded
Revision Changes Path
1.5 +11 -3 JBossCache/src/org/jboss/cache/NodeSPI.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NodeSPI.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/NodeSPI.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- NodeSPI.java 26 Nov 2006 20:35:13 -0000 1.4
+++ NodeSPI.java 29 Nov 2006 22:12:44 -0000 1.5
@@ -8,7 +8,6 @@
import java.util.Map;
-import org.jboss.cache.lock.IdentityLock;
import org.jboss.cache.lock.NodeLock;
/**
@@ -36,6 +35,16 @@
void setChildrenLoaded(boolean loaded);
/**
+ * Returns true if the data was loaded from the cache loader.
+ */
+ public boolean getDataLoaded();
+
+ /**
+ * Sets if the data was loaded from the cache loader.
+ */
+ public void setDataLoaded(boolean dataLoaded);
+
+ /**
* Returns a map to access the raw children.
* The data should only be modified by the cache itself.
* This method should never return null.
@@ -77,7 +86,6 @@
*/
NodeLock getLock();
-
/**
* Sets the FQN of this node and resets the names of all children as well.
*/
More information about the jboss-cvs-commits
mailing list