protected Set<String> getCurrentRequests() {
    return currentRequests;
  }
This protected method allows for simpler unit tests.

@return the Set of current Requests that are not yet completed
ambari-server/src/main/java/org/apache/ambari/server/controller/logging/LogSearchDataRetrievalService.java