public AtomicValue<Long> subtract(Long delta) {
            return trySet(value.postValue() - delta);
        }
A lock which works inside a single vm
zkfacade/src/main/java/com/yahoo/vespa/curator/mock/MockCuratorFramework.java