public Collection<SingularityRequestParent> getSingularityRequests() {
    final Function<String, String> requestUri = (host) -> String.format(REQUESTS_FORMAT, getApiBase(host));

    return getCollection(requestUri, "[ACTIVE, PAUSED, COOLDOWN] requests", REQUESTS_COLLECTION);
  }
public Collection < SingularityRequestParent > getSingularityRequests ( ) { final Function < String , String > requestUri = ( host ) -> String . format ( REQUESTS_FORMAT , getApiBase ( host ) ) ; return getCollection ( requestUri , "[ACTIVE, PAUSED, COOLDOWN] requests" , REQUESTS_COLLECTION ) ; }
Get all singularity requests that their state is either ACTIVE, PAUSED or COOLDOWN

For the requests that are pending to become ACTIVE use:
{@link SingularityClient#getPendingSingularityRequests()}

For the requests that are cleaning up use:
{@link SingularityClient#getCleanupSingularityRequests()}


Use {@link SingularityClient#getActiveSingularityRequests()}, {@link SingularityClient#getPausedSingularityRequests()},
{@link SingularityClient#getCoolDownSingularityRequests()} respectively to get only the ACTIVE, PAUSED or COOLDOWN requests.

@return
returns all the [ACTIVE, PAUSED, COOLDOWN] {@link SingularityRequestParent} instances.