code: protected void addPendingRequestForType(ResourceRequestInfo req) {
      Context c = getContext(req.getType());
      c.pendingRequests.add(req);
      c.pendingRequestCount++;
    }
docs: Add a pending request for a resource type.
  
  @param req Resource request to add