Remove duplicate cache columns

This commit is contained in:
Andrew Raines 2014-01-22 12:06:37 -06:00
parent 61158387fe
commit b34f259313
1 changed files with 0 additions and 8 deletions

View File

@ -139,10 +139,6 @@ public class RestNodesAction extends AbstractCatAction {
table.addCell("ramPercent", "text-align:right;desc:used machine memory ratio");
table.addCell("ramMax", "default:false;text-align:right;desc:total machine memory");
table.addCell("fielddata", "default:false;text-align:right;desc:used fielddata cache");
table.addCell("filter", "default:false;text-align:right;desc:used filter cache");
table.addCell("idCache", "default:false;text-align:right;desc:used id cache");
table.addCell("load", "text-align:right;desc:most recent load avg");
table.addCell("uptime", "default:false;text-align:right;desc:node uptime");
table.addCell("data/client", "desc:d:data node, c:client node");
@ -241,10 +237,6 @@ public class RestNodesAction extends AbstractCatAction {
table.addCell(stats == null ? null : stats.getOs().mem() == null ? null : stats.getOs().mem().usedPercent());
table.addCell(info == null ? null : info.getOs().mem() == null ? null : info.getOs().mem().total()); // sigar fails to load in IntelliJ
table.addCell(stats == null ? null : stats.getIndices().getFieldData().getMemorySize());
table.addCell(stats == null ? null : stats.getIndices().getFilterCache().getMemorySize());
table.addCell(stats == null ? null : stats.getIndices().getIdCache().getMemorySize());
table.addCell(stats == null ? null : stats.getOs() == null ? null : stats.getOs().getLoadAverage().length < 1 ? null : String.format(Locale.ROOT, "%.2f", stats.getOs().getLoadAverage()[0]));
table.addCell(stats == null ? null : stats.getJvm().uptime());
table.addCell(node.clientNode() ? "c" : node.dataNode() ? "d" : "-");