code: private void flexibleRRpolicy(PackingPlanBuilder planBuilder,
                                  String componentName) throws ResourceExceededException {
      // If there is not enough space on containerId look at other containers in a RR fashion
      // starting from containerId.
      ContainerIdScorer scorer = new ContainerIdScorer(this.containerId, this.numContainers);
      this.containerId = nextContainerId(planBuilder.addInstance(scorer, componentName));
    }
docs: Performs a RR placement. Tries to place the instance on any container with space, starting at
  containerId and cycling through the container set until it can be placed.
  
  @param planBuilder packing plan builder
  @param componentName the component name of the instance that needs to be placed in the container
  @throws ResourceExceededException if there is no room on any container to place the instance