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