Beispiel #1
0
 private void removeChildren(AdvancedCache<?, ?> cache) {
   startAtomic();
   try {
     Map<Object, Fqn> s = getStructure(cache);
     for (Object o : Immutables.immutableSetCopy(s.keySet())) removeChild(cache, o);
   } finally {
     endAtomic();
   }
 }
 @Override
 public void removeChildren() {
   startAtomic();
   try {
     Map<Object, Fqn> s = getStructure();
     for (Object o : Immutables.immutableSetCopy(s.keySet())) removeChild(o);
   } finally {
     endAtomic();
   }
 }
Beispiel #3
0
 private Set<Object> getChildrenNames(AdvancedCache<?, ?> cache) {
   return Immutables.immutableSetCopy(getStructure(cache).keySet());
 }
 @Override
 public Set<Object> getChildrenNames() {
   return Immutables.immutableSetCopy(getStructure().keySet());
 }