public Element replace(Element element) {
   return cache.replace(element);
 }
Beispiel #2
0
 @Override
 public void refreshCache(Cache cache) {
   userCache.replace(new Element(cache.getKey(), cache));
 }
 public boolean replace(Element element, Element element1) {
   return cache.replace(element, element1);
 }