code: void addRequest(final InstanceType instanceType, final int numberOfInstances) {
  
  		Integer numberOfRemainingInstances = this.pendingRequests.get(instanceType);
  		if (numberOfRemainingInstances == null) {
  			numberOfRemainingInstances = Integer.valueOf(numberOfInstances);
  		} else {
  			numberOfRemainingInstances = Integer.valueOf(numberOfRemainingInstances.intValue() + numberOfInstances);
  		}
  
  		this.pendingRequests.put(instanceType, numberOfRemainingInstances);
  	}
docs: Adds the a pending request for the given number of instances of the given type to this map.
  
  @param instanceType
  the requested instance type
  @param numberOfInstances
  the requested number of instances of this type