public void setCounter(TezCounterData counterHolder) {
    this._counterHolder = counterHolder;
    this._isSampled = true;
  }
Tez Task Level metadata holding data structure
app/com/linkedin/drelephant/tez/data/TezTaskData.java