code: @Override public void onNewTraces(List<Trace> traces) {
      int tracesRemoved = updateTraceBuffer(traces);
      List<Trace> tracesToNotify = getCurrentTraces();
      view.showTraces(tracesToNotify, tracesRemoved);
    }
docs: Given a list of Trace objects to show, updates the buffer of traces and refresh the view.