public void run() {
try {
TableStats tableStats = blurConnection.tableStats(this.tableName);
if (tableStats == null) {
throw new NullReturnedException("No table statistics were returned!");
}
this.database.updateTableStats(tableId, tableStats.getBytes(), tableStats.getRecordCount(), tableStats.getRowCount());
} catch (BlurException e) {
log.error("Unable to get table stats for table [" + tableId + "].", e);