import com.google.common.cache.RemovalListener;
import com.google.common.cache.RemovalNotification;
public class DedupFileStore {
private static boolean closing = false;
private static OpenFileMonitor openFileMonitor = null;
<BUG>private static ConcurrentHashMap<String, DedupFile> openFile = new ConcurrentHashMap<String, DedupFile>();
</BUG>
private static LoadingCache<ByteLongArrayWrapper, AtomicLong> keyLookup = CacheBuilder.newBuilder()
.maximumSize(1_000_000).concurrencyLevel(Main.writeThreads)
.removalListener(new RemovalListener<ByteLongArrayWrapper, AtomicLong>() {

import com.google.common.cache.RemovalListener;
import com.google.common.cache.RemovalNotification;
public class DedupFileStore {
private static boolean closing = false;
private static OpenFileMonitor openFileMonitor = null;
private static ConcurrentHashMap<String, SparseDedupFile> openFile = new ConcurrentHashMap<String, SparseDedupFile>();
private static LoadingCache<ByteLongArrayWrapper, AtomicLong> keyLookup = CacheBuilder.newBuilder()
.maximumSize(1_000_000).concurrencyLevel(Main.writeThreads)
.removalListener(new RemovalListener<ByteLongArrayWrapper, AtomicLong>() {
