Package org.jboss.cache.aop.test.propagation

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


         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

   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

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.