private List<String> getSourceInterestList(List<InputSpec> inputSpecList) {
    List<String> sourcesOfInterest = Collections.emptyList();
    if (inputSpecList != null) {
      boolean alreadyFound = false;
      for (InputSpec inputSpec : inputSpecList) {
        if (LlapTezUtils.isSourceOfInterest(inputSpec.getInputDescriptor().getClassName())) {
          if (!alreadyFound) {
            alreadyFound = true;
            sourcesOfInterest = new LinkedList<>();
          }
          sourcesOfInterest.add(inputSpec.getSourceVertexName());
        }
      }
    }
    return sourcesOfInterest;
  }
Constructs FragmentRuntimeInfo for scheduling within LLAP daemons.
Also caches state based on state updates.
@param vertexName
@param fragmentNumber
@param priority
@return
llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/helpers/SourceStateTracker.java