code: public void onResourceRequested(final ResourceRequestEvent resourceRequestEvent) {
      LOG.log(Level.FINEST, "Got ResourceRequestEvent in AzureBatchResourceManager,");
      URI jarFileUri = this.evaluatorShimManager.generateShimJarFile();
      for (int r = 0; r < resourceRequestEvent.getResourceCount(); r++) {
        final String containerId = generateContainerId();
        LOG.log(Level.FINE, "containerId in AzureBatchResourceManager {0}", containerId);
        this.containerRequests.put(containerId, resourceRequestEvent);
        this.containerCount.incrementAndGet();
        this.evaluatorShimManager.onResourceRequested(resourceRequestEvent, containerId, jarFileUri);
      }
  
      int currentContainerCount = this.containerCount.get();
      if (currentContainerCount > 0) {
        this.azureBatchTaskStatusAlarmHandler.enableAlarm();
      }
    }
docs: This method is invoked when a {@link ResourceRequestEvent} is triggered.
  
  @param resourceRequestEvent the resource request event.