Examples of summaryUpperPropagate()


Examples of org.jboss.cache.aop.test.propagation.PropagationRule.summaryUpperPropagate()

         node.setSummaryStateItem(summary);

         registMap(node);

         PropagationRule rule = node.getPropagationRule();
         rule.summaryUpperPropagate(node);
      }
   }

   public void addStateItem(String parentFdn, long itemId, long defaultState) {
      Node node = findNode(parentFdn);
View Full Code Here

Examples of org.jboss.cache.aop.test.propagation.PropagationRule.summaryUpperPropagate()

         item.setState(defaultState);

         node.addStateItem(item);

         PropagationRule rule = node.getPropagationRule();
         rule.summaryUpperPropagate(node);
      }
   }

   public void stateChange(String parentFdn, long itemId, long newState) {
      Node node = findNode(parentFdn);
View Full Code Here

Examples of org.jboss.cache.aop.test.propagation.PropagationRule.summaryUpperPropagate()

   protected void upperPropagate(Node node) {
      Node parentNode = (Node) node.getParentNode();
      if (parentNode != null) {
         PropagationRule parentRule = parentNode.getPropagationRule();
         parentRule.summaryUpperPropagate(parentNode);
      }
   }

   protected boolean isClear(StateItem item) {
      long state = item.getState();
View Full Code Here

Examples of propagation.PropagationRule.summaryUpperPropagate()

   protected void upperPropagate(Node node) {
      // propagate to parent node.
      Node parentNode = (Node) node.getParentNode();
      if (parentNode != null) {
         PropagationRule parentRule = parentNode.getPropagationRule();
         parentRule.summaryUpperPropagate(parentNode);
      }

      // propagate to upper nodes.
      List upperNodes = node.getUpperNodes();
      int size = upperNodes.size();
View Full Code Here

Examples of propagation.PropagationRule.summaryUpperPropagate()

      List upperNodes = node.getUpperNodes();
      int size = upperNodes.size();
      for (int index = 0; index < size; index++) {
         Node upperNode = (Node) upperNodes.get(index);
         PropagationRule upperRule = upperNode.getPropagationRule();
         upperRule.summaryUpperPropagate(upperNode);
      }
   }

   protected boolean isClear(StateItem item) {
      long state = item.getState();
View Full Code Here

Examples of propagation.PropagationRule.summaryUpperPropagate()

         Node node = createNode(parentFdn + "." + rdn, rdn);
         node.setParentNode(parent);
         parent.addChildNode(node);

         PropagationRule rule = node.getPropagationRule();
         rule.summaryUpperPropagate(node);
      }
   }

   public void addStateItem(String parentFdn, long itemId, String name, long defaultState) {
      Node node = findNode(parentFdn);
View Full Code Here

Examples of propagation.PropagationRule.summaryUpperPropagate()

         item.setName(name);

         node.addStateItem(item);

         PropagationRule rule = node.getPropagationRule();
         rule.summaryUpperPropagate(node);
      }
   }

   public void stateChange(String fdn, long itemId, long newState) {
      Node node = findNode(fdn);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.