private void showHeaders(List<Header> headers) {
    String header = headers.stream().map(h -> String.format(h.format(), h.getField().getHeader()))
      .collect(Collectors.joining(" "));

    if (!header.isEmpty()) {
      header += " ";
    }

    getTerminalPrinter(RECORD_HEADER_ROW).startHighlight().print(header).stopHighlight()
      .endOfLine();
  }
The screen that provides a dynamic real-time view for the HBase metrics. This shows the metric
{@link Summary} and the metric {@link Record}s. The summary and the metrics are updated
periodically (3 seconds by default).
hbase-hbtop/src/main/java/org/apache/hadoop/hbase/hbtop/screen/top/TopScreenView.java