[jboss-cvs] JBossCache/src/org/jboss/cache/statetransfer ...
Manik Surtani
msurtani at jboss.com
Fri Jan 5 10:35:31 EST 2007
User: msurtani
Date: 07/01/05 10:35:31
Modified: src/org/jboss/cache/statetransfer
DefaultStateTransferIntegrator.java
Log:
Fixed issue with unnecessary call up interceptor stack when notifying of node creation
Revision Changes Path
1.16 +3 -3 JBossCache/src/org/jboss/cache/statetransfer/DefaultStateTransferIntegrator.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DefaultStateTransferIntegrator.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/statetransfer/DefaultStateTransferIntegrator.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- DefaultStateTransferIntegrator.java 4 Jan 2007 05:35:38 -0000 1.15
+++ DefaultStateTransferIntegrator.java 5 Jan 2007 15:35:31 -0000 1.16
@@ -188,13 +188,13 @@
* Generates NodeAdded notifications for all nodes of the tree. This is
* called whenever the tree is initially retrieved (state transfer)
*/
- private void notifyAllNodesCreated(Node curr)
+ private void notifyAllNodesCreated(NodeSPI curr)
{
if (curr == null) return;
getCache().getNotifier().notifyNodeCreated(curr.getFqn(), true, true);
getCache().getNotifier().notifyNodeCreated(curr.getFqn(), false, true);
- Set<Node> children = curr.getChildren();
- for (Node n : children)
+ Set<NodeSPI> children = curr.getChildrenDirect();
+ for (NodeSPI n : children)
{
notifyAllNodesCreated(n);
}
More information about the jboss-cvs-commits
mailing list