IntFileAttribute (String name, int version) { synchronized (ourAttributes) { return ourAttributes.computeIfAbsent(new Pair<>(name, version), __ -> { return IntFileAttribute.create(name + ".index.version", version); }); } }