//LOG.info("Update mem stats");
this.updateMemoryStats(EstTime.currentTimeMillis());
}
// TABLE STATS REQUEST
else if (work instanceof TableStatsRequestMessage) {
TableStatsRequestMessage stats_work = (TableStatsRequestMessage)work;
VoltTable results[] = this.ee.getStats(SysProcSelector.TABLE,
stats_work.getLocators(),
false,
EstTime.currentTimeMillis());
assert(results.length == 1);
//results[0].advanceRow();
//LOG.info(String.format("Notified ovserver at partition %d", results[0].getLong("PARTITION_ID")));
stats_work.getObservable().notifyObservers(results[0]);
}
else {
// IGNORE
}
}