Пример #1
0
  /**
   * @param handle handle of SQLOperation.
   * @return display representing a particular SQLOperation.
   */
  public SQLOperationDisplay getSQLOperationDisplay(String handle) {
    synchronized (webuiLock) {
      if (historicSqlOperations == null) {
        return null;
      }

      SQLOperationDisplay result = liveSqlOperations.get(handle);
      if (result != null) {
        return result;
      }
      return historicSqlOperations.get(handle);
    }
  }