@Override
  public void terminate(String reason, Exception e, boolean clearMetrics) {
    if (clearMetrics) {
      this.metrics.clear();
    } else {
      this.metrics.terminate();
    }
  }
Source that does nothing at all, helpful to test ReplicationSourceManager
hbase-server/src/test/java/org/apache/hadoop/hbase/replication/ReplicationSourceDummy.java