public void addLiveQueryInfo(Operation operation) {
    if (operation instanceof SQLOperation) {
      synchronized (webuiLock) {
        liveQueryInfos.put(operation.getHandle().getHandleIdentifier().toString(),
            ((SQLOperation) operation).getQueryInfo());
      }
    }
  }
Add the live operation's query info into the cache
@param operation the live operation
service/src/java/org/apache/hive/service/cli/operation/QueryInfoCache.java