private void replaceAll(AdvancedCache cache, Map<? extends K, ? extends V> map) { startAtomic(); try { AtomicMap<K, V> data = getDataInternal(cache); data.clear(); data.putAll(map); } finally { endAtomic(); } }
@Override public void replaceAll(Map<? extends K, ? extends V> map) { startAtomic(); try { AtomicMap<K, V> data = getDataInternal(); data.clear(); data.putAll(map); } finally { endAtomic(); } }