String msg = String.format("Cannot recompute markov graphs because the estimator " +
"at partition %d is not a MarkovEstimator", partitionId);
throw new VoltAbortException(msg);
}
MarkovEstimator t_estimator = (MarkovEstimator)this.executor.getTransactionEstimator();
assert(t_estimator != null);
MarkovGraphsContainer markovs = t_estimator.getMarkovGraphsContainer();
if (t_estimator.getMarkovGraphsContainer() != null) {
boolean is_global = t_estimator.getMarkovGraphsContainer().isGlobal();
// We will only write out our file if we are the first partition in the list at this site
if (is_global == false || (is_global == true && isFirstLocalPartition())) {
if (debug.val) LOG.debug(String.format("Recalculating MarkovGraph probabilities at partition %d [save=%s, global=%s]",