protected void addPendingRequestForType(ResourceRequestInfo req) {
    Context c = getContext(req.getType());
    c.pendingRequests.add(req);
    c.pendingRequestCount++;
  }
protected void addPendingRequestForType ( ResourceRequestInfo req ) { Context c = getContext ( req . getType ( ) ) ; c . pendingRequests . add ( req ) ; c . pendingRequestCount ++ ; }
Add a pending request for a resource type.

@param req Resource request to add