<pre>
Use this operation to upgrade Repeater Instances in bulk.
</pre>
979533
public static br_upgrade[] upgrade(nitro_service client, br_upgrade[] resources) throws Exception
	{
		if(resources == null)
			throw new Exception("Null resource array");
		
		
		if(resources.length == 1)
			return ((br_upgrade[]) resources[0].perform_operation(client, "upgrade"));
		
		return ((br_upgrade[]) perform_operation_bulk_request(client, resources, "upgrade"));
	}
994430
public static base_responses update(nitro_service client, rnat resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			rnat updateresources[] = new rnat[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new rnat();
				updateresources[i].network = resources[i].network;
				updateresources[i].netmask = resources[i].netmask;
				updateresources[i].natip = resources[i].natip;
				updateresources[i].td = resources[i].td;
				updateresources[i].aclname = resources[i].aclname;
				updateresources[i].redirectport = resources[i].redirectport;
				updateresources[i].natip2 = resources[i].natip2;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
38325
def upgrade(self, using=None, **kwargs):
        
        return self._get_connection(using).indices.upgrade(index=self._name, **kwargs)
783866
def update(bulk = false)
      caught = catch(:halt)  do
        if self.new?
          save(bulk)
        else
          _run_update_callbacks do
            _run_save_callbacks do
              save_without_callbacks(bulk)
            end
          end
        end
      end
    end
687377
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_upgrade_responses result = (br_upgrade_responses) service.get_payload_formatter().string_to_resource(br_upgrade_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.br_upgrade_response_array);
		}
		br_upgrade[] result_br_upgrade = new br_upgrade[result.br_upgrade_response_array.length];
		
		for(int i = 0; i < result.br_upgrade_response_array.length; i++)
		{
			result_br_upgrade[i] = result.br_upgrade_response_array[i].br_upgrade[0];
		}
		
		return result_br_upgrade;
	}
1039925
public static base_responses update(nitro_service client, bridgegroup resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			bridgegroup updateresources[] = new bridgegroup[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new bridgegroup();
				updateresources[i].id = resources[i].id;
				updateresources[i].ipv6dynamicrouting = resources[i].ipv6dynamicrouting;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
963293
public static base_responses update(nitro_service client, netprofile resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			netprofile updateresources[] = new netprofile[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new netprofile();
				updateresources[i].name = resources[i].name;
				updateresources[i].srcip = resources[i].srcip;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
258330
def run_bulk(t, first, last, incr = 1)
                retry_until { DRMAA.run_bulk_jobs(t.ptr, first, last, incr) }
            end
766429
public static base_responses update(nitro_service client, route6 resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			route6 updateresources[] = new route6[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new route6();
				updateresources[i].network = resources[i].network;
				updateresources[i].gateway = resources[i].gateway;
				updateresources[i].vlan = resources[i].vlan;
				updateresources[i].weight = resources[i].weight;
				updateresources[i].distance = resources[i].distance;
				updateresources[i].cost = resources[i].cost;
				updateresources[i].advertise = resources[i].advertise;
				updateresources[i].msr = resources[i].msr;
				updateresources[i].monitor = resources[i].monitor;
				updateresources[i].td = resources[i].td;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
508456
public static xen_upgrade upgrade(nitro_service client, xen_upgrade resource) throws Exception
	{
		return ((xen_upgrade[]) resource.update_resource(client))[0];
	}
678540
public static base_responses update(nitro_service client, snmpuser resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			snmpuser updateresources[] = new snmpuser[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new snmpuser();
				updateresources[i].name = resources[i].name;
				updateresources[i].group = resources[i].group;
				updateresources[i].authtype = resources[i].authtype;
				updateresources[i].authpasswd = resources[i].authpasswd;
				updateresources[i].privtype = resources[i].privtype;
				updateresources[i].privpasswd = resources[i].privpasswd;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
48753
public static base_responses update(nitro_service client, streamidentifier resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			streamidentifier updateresources[] = new streamidentifier[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new streamidentifier();
				updateresources[i].name = resources[i].name;
				updateresources[i].selectorname = resources[i].selectorname;
				updateresources[i].interval = resources[i].interval;
				updateresources[i].samplecount = resources[i].samplecount;
				updateresources[i].sort = resources[i].sort;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
1258475
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		mps_upgrade_responses result = (mps_upgrade_responses) service.get_payload_formatter().string_to_resource(mps_upgrade_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.mps_upgrade_response_array);
		}
		mps_upgrade[] result_mps_upgrade = new mps_upgrade[result.mps_upgrade_response_array.length];
		
		for(int i = 0; i < result.mps_upgrade_response_array.length; i++)
		{
			result_mps_upgrade[i] = result.mps_upgrade_response_array[i].mps_upgrade[0];
		}
		
		return result_mps_upgrade;
	}
1030753
def bulk_update_batches(aggregations)
      en = Enumerator.new do |e|
        i = 1
        batch = []
        aggregations.each do |agg|
          batch << agg
          if i % @bulk_update_size == 0
            e.yield batch
            batch = []
          end
          i += 1
        end
        e.yield batch if batch.count > 0  # last one
      end
      en.lazy
    end
772118
@Override
    public void upgradeFrom(ChannelHandlerContext ctx) {
        final ChannelPipeline p = ctx.pipeline();
        p.remove(this);
    }
338317
public void upgrade() {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        if (execute(Arrays.asList("groovy", "="),
                new ByteArrayInputStream(
                        "hudson.remoting.Channel.current().setRestricted(false)"
                                .getBytes(defaultCharset())),
                out, out) != 0) {
            throw new SecurityException(out.toString()); // failed to upgrade
        }
    }
764811
@Override
  public void addBulkUpdateListener( AsyncCallback<BulkEvent> callback )
  {
    DataSubscription subscription = new DataSubscription( RTDataEvents.bulk_updated, tableName, createCallback( callback, BulkEvent.class ) );
    addEventListener( subscription );
  }