void setRegistered(boolean isRegistered) {
        this.isRegistered = isRegistered;
    }
The current generation of data produced from a single thread, where
generation is the period between two subsequent calls to
ThreadLocalDirectory.fetch().
vespajlib/src/main/java/com/yahoo/concurrent/LocalInstance.java