public void status(Status status) {
        if (status != this.status) {
            log.log(Level.INFO, "Changing health status code from '" + this.status + "' to '" + status.name() + "'");
            this.status = status;
        }
    }
A state monitor keeps track of the current health state of a container.

@author Simon Thoresen Hult
container-core/src/main/java/com/yahoo/container/jdisc/state/StateMonitor.java