public Metric getMetricByName(String name) {
    return this.metrics.get(name);
  }
Class for defining the different stages of replication.
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/metric/event/Stage.java