code: public static String getSupervisorSlotPorts(int memory, int vcores, String instanceName, String supervisorHost, RegistryOperations registryOperations) {
          return join(getSupervisorPorts(memory, vcores, instanceName, supervisorHost, registryOperations), JOYConstants.COMMA, false);
      }
docs: this is for jstorm configuration's format
  
  @param memory
  @param vcores
  @param supervisorHost
  @return