Use this API to update lbmetrictable resources.
432257
public static base_responses update(nitro_service client, lbmetrictable resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			lbmetrictable updateresources[] = new lbmetrictable[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new lbmetrictable();
				updateresources[i].metrictable = resources[i].metrictable;
				updateresources[i].metric = resources[i].metric;
				updateresources[i].Snmpoid = resources[i].Snmpoid;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
913948
def update(self):
        '''
        
        '''
        self.updateIncomeProcess()
        self.updateAssetsGrid()
        self.updatepLvlNextFunc()
        self.updatepLvlGrid()
        self.updateMedShockProcess()
        self.updateSolutionTerminal()
1283467
protected void updateFromResource() {

        setCreationDate(m_resource.getDateCreated());
        int length = m_resource.getLength();
        if (m_resource.isFolder()) {
            length = 1;
        }
        setFileSize(length);
        setModifyDate(m_resource.getDateLastModified());
        setAttributes(m_resource.isFile() ? FileAttribute.Normal : FileAttribute.Directory);
    }
460087
public void updateByteMetrics() {
    try {
      for (Optional<Fork> fork : this.forks.keySet()) {
        if (fork.isPresent()) {
          fork.get().updateByteMetrics();
        }
      }
    } catch (IOException ioe) {
      LOG.error("Failed to update byte-level metrics for task " + this.taskId, ioe);
    }
  }
923311
private void updateSourceValues() {
        JDBCConnectionManager man = JDBCConnectionManager.getJDBCConnectionManager();
        try {
            man.closeConnection();
        } catch (SQLException e) {
            // do nothing
        }

        String username = txtDatabaseUsername.getText();
        OBDADataSource currentDataSource = obdaModel.getDatasource();
        currentDataSource.setParameter(RDBMSourceParameterConstants.DATABASE_USERNAME, username);
        String password = new String(txtDatabasePassword.getPassword());
        currentDataSource.setParameter(RDBMSourceParameterConstants.DATABASE_PASSWORD, password);
        String driver = txtJdbcDriver.getSelectedIndex() == 0 ? "" : (String) txtJdbcDriver.getSelectedItem();
        currentDataSource.setParameter(RDBMSourceParameterConstants.DATABASE_DRIVER, driver);
        String url = txtJdbcUrl.getText();
        currentDataSource.setParameter(RDBMSourceParameterConstants.DATABASE_URL, url);

        if (url.endsWith(" ")) {
            lblConnectionStatus.setForeground(Color.RED);
            lblConnectionStatus.setText("Warning the URL ends with a white space, this can give rise to connection problems");
        } else if (driver.endsWith(" ")) {
            lblConnectionStatus.setForeground(Color.RED);
            lblConnectionStatus.setText("Warning the Driver class ends with a white space, this can give rise to connection problems");
        } else if (password.endsWith(" ")) {
            lblConnectionStatus.setForeground(Color.RED);
            lblConnectionStatus.setText("Warning the password ends with a white space, this can give rise to connection problems");
        } else if (username.endsWith(" ")) {
            lblConnectionStatus.setForeground(Color.RED);
            lblConnectionStatus.setText("Warning the password ends with a white space, this can give rise to connection problems");
        } else {
            lblConnectionStatus.setText("");
        }

        obdaModel.fireSourceParametersUpdated();
    }
473287
void updateImageMetrics() {
    if (metrics == null) {
      return;
    }
    int failedImageDirs = 0;
    for (ImageManager im : imageManagers) {
      if(im.isImageDisabled()) {
        failedImageDirs++;
      }
    }
    // update only images, journals are handled in JournalSet
    metrics.imagesFailed.set(failedImageDirs);
  }
841406
private void updateMetric(String value, GroupSetEntry groupSetEntry, Set<String>[] groupKeys){
		updateMetric(value, groupSetEntry.m_totalGroup, groupKeys, 0);
		if (groupSetEntry.m_isComposite){
			updateMetric(value, groupSetEntry.m_compositeGroup, groupKeys, groupKeys.length - 1);
		}
	}
814639
public static base_response update(nitro_service client, lbparameter resource) throws Exception {
		lbparameter updateresource = new lbparameter();
		updateresource.httponlycookieflag = resource.httponlycookieflag;
		updateresource.consolidatedlconn = resource.consolidatedlconn;
		updateresource.useportforhashlb = resource.useportforhashlb;
		updateresource.preferdirectroute = resource.preferdirectroute;
		updateresource.startuprrfactor = resource.startuprrfactor;
		updateresource.monitorskipmaxclient = resource.monitorskipmaxclient;
		updateresource.monitorconnectionclose = resource.monitorconnectionclose;
		updateresource.vserverspecificmac = resource.vserverspecificmac;
		return updateresource.update_resource(client);
	}
83741
def _update_datasource(self, source, data):
        
        if isinstance(source, ColumnDataSource):
            if self.handles['static_source']:
                source.trigger('data', source.data, data)
            else:
                source.data.update(data)
        else:
            source.graph_layout = data
1018687
protected function update()
    {
        DbTable::update($this->db, $this->_tableName, $this->_cols, $this->id);
    }
328467
public static long count(nitro_service service, String metrictable) throws Exception{
		lbmetrictable_metric_binding obj = new lbmetrictable_metric_binding();
		obj.set_metrictable(metrictable);
		options option = new options();
		option.set_count(true);
		lbmetrictable_metric_binding response[] = (lbmetrictable_metric_binding[]) obj.get_resources(service,option);
		if (response != null) {
			return response[0].__count;
		}
		return 0;
	}
297164
public void updateMetricsRecord() {
    for (Map.Entry<MetricName, Long> entry: counters.entrySet()) {
      String name = (entry.getKey() + "_" + type).toLowerCase();
      record.setMetric(name, entry.getValue());
    }
    record.update();
  }
1340648
protected void updateParameterTable() {
    parameterTable.setEnabled(false);
    ListParameterization config = new ListParameterization();
    parameterTable.appendParameters(config);
    setParameters(config);
    if(config.getErrors().size() > 0) {
      reportErrors(config);
    }
    config.clearErrors();
    parameterTable.setEnabled(true);
  }
150589
def refresh_table(self):
        """"""
        if self.is_visible and self.isVisible():
            self.shellwidget.refresh_namespacebrowser()
            try:
                self.editor.resizeRowToContents()
            except TypeError:
                pass
614972
public static lbmetrictable_binding get(nitro_service service, String metrictable) throws Exception{
		lbmetrictable_binding obj = new lbmetrictable_binding();
		obj.set_metrictable(metrictable);
		lbmetrictable_binding response = (lbmetrictable_binding) obj.get_resource(service);
		return response;
	}
135637
public static base_responses update(nitro_service client, lbwlm resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			lbwlm updateresources[] = new lbwlm[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new lbwlm();
				updateresources[i].wlmname = resources[i].wlmname;
				updateresources[i].katimeout = resources[i].katimeout;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
239450
def update(self, response, **kwargs):
        '''
        
        '''
        response_cls = super(
            LocationResponseClassLegacyAccessor, self)._get_instance(**kwargs)
        if response_cls:
            setattr(response_cls, self.column, self.accessor(response))
            setattr(
                response_cls, self.venue_column, self.venue_accessor(response))
            _action_and_commit(response_cls, session.add)