Ejemplo n.º 1
0
 private Node<K, V> getChild(AdvancedCache cache, Object name) {
   startAtomic();
   try {
     if (hasChild(name))
       return new NodeImpl<K, V>(Fqn.fromRelativeElements(fqn, name), cache, batchContainer);
     else return null;
   } finally {
     endAtomic();
   }
 }
 @Override
 public Node<K, V> getChild(Object name) {
   startAtomic();
   try {
     if (hasChild(name))
       return new NodeImpl<K, V>(Fqn.fromRelativeElements(fqn, name), cache, batchContainer);
     else return null;
   } finally {
     endAtomic();
   }
 }