public ClusterState getCurrentSystemState() {
        synchronized(timer) {
            return current;
        }
    }
Old class used for waiting for something..
Deprecated.. Use the Waiter class instead
clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/testutils/StateWaiter.java