void syncToDB() {
			Map<K, Modification> toMods = mods;
			mods = new ConcurrentHashMap<>();
			new Thread(() -> {
				for (Map.Entry<K, Modification> entry : toMods.entrySet()) {
					K k = entry.getKey();
					Modification modification = entry.getValue();
					if (modification.isPut) {
						synchronizer.put(k, modification.value);
					} else {
						synchronizer.remove(k, modification.value);
					}
				}
			}).start();
		}