public void setMonitor(TezJobMonitor monitor) {
    this.monitor = monitor;
  }
TezRuntimeContext is a class used by mainly TezTask to store runtime information.
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezRuntimeContext.java