code: protected void addGrantedRequest(ResourceRequestInfo req) {
      Context c = getContext(req.getType());
      c.grantedRequests.add(req);
  
      // assume a granted resource is going to be fully used
      c.fulfilledRequestCount++;
    }
docs: Add a granted request for a resource type.
  
  @param req Resource request to add