void (int fileId, @NotNull ID<?, ?> indexName, final long indexCreationStamp) { assert fileId > 0; ourLock.withWriteLock(fileId, () -> { Timestamps stamp = createOrGetTimeStamp(fileId); stamp.set(indexName, indexCreationStamp); return null; }); }