void (final int key, final int value) { try { cache.invalidate(key); map.appendData(key, new AppendablePersistentMap.ValueDataAppender() { @Override public void append(final @NotNull DataOutput out) throws IOException { DataInputOutputUtil.writeINT(out, value); } }); } catch (IOException e) { throw new BuildDataCorruptedException(e); } }