public synchronized long increment() {
        return counter.next();
    }
Increment counter and return next value. This method is thread safe and provides an atomic value
across zookeeper clusters.

@return incremented counter value.
configserver/src/main/java/com/yahoo/vespa/config/server/SuperModelGenerationCounter.java