boolean registerForFinishableStateUpdates(FinishableStateUpdateHandler handler,
                                         List<String> sources, QueryFragmentInfo fragmentInfo,
                                         boolean lastFinishableState) {
    return finishableStateTracker
        .registerForUpdates(handler, sources, fragmentInfo, lastFinishableState);
  }
@param handler
@param sources
@param fragmentInfo
@param lastFinishableState
@return true if the current state is the same as the lastFinishableState. false if the state has already changed.
llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/QueryInfo.java