static Map<NodeType, Integer> buildTransitionTimeMap(int distributorTransitionTimeMs, int storageTransitionTimeMs) {
            Map<com.yahoo.vdslib.state.NodeType, java.lang.Integer> maxTransitionTime = new TreeMap<>();
            maxTransitionTime.put(com.yahoo.vdslib.state.NodeType.DISTRIBUTOR, distributorTransitionTimeMs);
            maxTransitionTime.put(com.yahoo.vdslib.state.NodeType.STORAGE, storageTransitionTimeMs);
            return maxTransitionTime;
        }
Pure functional cluster state generator which deterministically constructs a full
cluster state given the state of the content cluster, a set of cluster controller
configuration parameters and the current time.

State version tracking is considered orthogonal to state generation. Therefore,
cluster state version is _not_ set here; its incrementing must be handled by the
caller.
clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ClusterStateGenerator.java