boolean found = false;
for (AbstractTransaction ts : siteDebug.getInflightTransactions()) {
if ((ts instanceof LocalTransaction) == false ||
ts.getBasePartition() != partition ||
ts.isPredictSinglePartition()) continue;
LocalTransaction localTxn = (LocalTransaction)ts;
if (depTrackerDbg.hasTransactionState(localTxn)) {
inner.put(localTxn.toString(), depTrackerDbg.debugMap(localTxn));
} else {
inner.put(localTxn.toString(), "<MISSING>");
}
found = true;
}
if (found == false) inner.put("<NONE>", null);
m.put(String.format("Partition %02d", partition), inner);