@Override
	public Map<K, V> snapshot() {
		final long stamp = lock.writeLock();
		try {
			Map<K, V> map = new HashMap<>(cacheMap.size());
			cacheMap.forEach((key, cacheValue) -> map.put(key, cacheValue.getObject()));
			return map;
		}
		finally {
			lock.unlockWrite(stamp);
		}
	}
@Override
	public Map<K, V> snapshot() {
		final long stamp = lock.writeLock();
		try {
			Map<K, V> map = new HashMap<>(cacheMap.size());
			cacheMap.forEach((key, cacheValue) -> map.put(key, cacheValue.getObject()));
			return map;
		}
		finally {
			lock.unlockWrite(stamp);
		}
	}
@ Override public Map < K , V > snapshot ( ) { final long stamp = lock . writeLock ( ) ; try { Map < K , V > map = new HashMap <> ( cacheMap . size ( ) ) ; cacheMap . forEach ( ( key , cacheValue ) -> map . put ( key , cacheValue . getObject ( ) ) ) ; return map ; } finally { lock . unlockWrite ( stamp ) ; } }
{@inheritDoc}
{