Update the listener to listen for changes to no records.
@param strKeyName The (optional) key area the query is being of.
@param objKeyData The (optional) reference value of the key area.
553757
public void clearBookmarkFilters(String strKeyName, Object objKeyData)
    {
        Map<String,Object> properties = new Hashtable<String,Object>();
        properties.put(GridRecordMessageFilter.ADD_BOOKMARK, GridRecordMessageFilter.CLEAR_BOOKMARKS);
        if (objKeyData != null)
        {
            properties.put(GridRecordMessageFilter.SECOND_KEY_HINT, strKeyName);
            properties.put(strKeyName, objKeyData);
        }
        m_recordMessageFilter.updateFilterMap(properties);
    }
1299419
public void onChange(String valueScope, Object key){
		notifyLocalRepositories(valueScope, key);
		notifyRemoteRepositories(valueScope, key);
	}
1358931
public void setData(String key, Object value) {
        this.data = this.data.addData(key, value);
    }
1007086
@Override
	public void updateComponent(final Object data) {
		MyData myData = (MyData) data;
		name.setText("<B>" + myData.getName() + "</B>");
		count.setText(String.valueOf(myData.getCount()));
	}
707516
protected void update(JSONObject data)
    {
        api.get().getClient().send(new JSONObject()
            .put("d", data)
            .put("op", WebSocketCode.PRESENCE).toString());
    }
444347
void updateDataFields(int why) {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "updateDataFields");
    super.updateDataFields(why);
    if (bodyMap != null && bodyMap.isChanged()) {
      getPayload().setField(JmsMapBodyAccess.BODY_DATA_ENTRY_NAME, bodyMap.getKeyList());
      getPayload().setField(JmsMapBodyAccess.BODY_DATA_ENTRY_VALUE, bodyMap.getValueList());
      bodyMap.setUnChanged();                                                   // d317373.1
    }
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "updateDataFields");
  }
931710
public void set(Object data, int iOpenMode) throws DBException, RemoteException
    {
        if (m_objCurrentKey == null)
            throw new DBException(Constants.INVALID_RECORD);
        Object key = this.getKey(data);
        if (!key.equals(m_objCurrentKey))
            m_mDataMap.remove(key);
        m_mDataMap.put(key, data);      // Replace the data at this position
        m_objCurrentKey = null;
    }
851161
private void update() {
        synchronized (lock) {
            if (!observing) { return; }

            try {
                Log.i(DOMAIN, "%s: Querying...", this);
                final ResultSet oldResultSet = resultSet;
                final ResultSet newResultSet = (oldResultSet == null) ? query.execute() : oldResultSet.refresh();

                willUpdate = false;
                lastUpdatedAt = System.currentTimeMillis();

                if (newResultSet != null) {
                    if (oldResultSet != null) { Log.i(DOMAIN, "%s: Changed!", this); }
                    resultSet = newResultSet;
                    changeNotifier.postChange(new QueryChange(this.query, resultSet, null));
                }
                else {
                    Log.i(DOMAIN, "%s: ...no change", this);
                }
            }
            catch (CouchbaseLiteException e) {
                changeNotifier.postChange(new QueryChange(this.query, null, e));
            }
        }
    }
1314484
public void update(ChannelData channelData) {
        synchronized (this.udpChannelConfig) {
            // can't do two updates at the same time
            try {
                this.udpChannelConfig.setChannelData(channelData);
            } catch (ChannelException e) {
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                    Tr.debug(this, tc, "Error updating config:" + e.getMessage());
                }
            }
        }
    }
473351
public static void reload(String key) {
        KV<String, SplitWord> kv = CRF.get(key);
        if (kv != null) {
            CRF.get(key).setV(null);
        }

        LOG.warn("make sure ,this reload not use same obj , it to instance a new model");
    }
546777
public void set(Object data, int iOpenMode) throws DBException, RemoteException
    {
        int iErrorCode = this.checkCurrentCacheIsPhysical(data);
        if (iErrorCode != Constants.NORMAL_RETURN)
            throw new DBException(iErrorCode);  // Data probably changed from last time I read it.
        m_tableRemote.set(data, iOpenMode);
        if (m_objCurrentCacheRecord != null)
        {
            if (m_mapCache != null)
            {
                if ((cacheMode == CacheMode.CACHE_ON_WRITE) || (cacheMode == CacheMode.PASSIVE_CACHE))
                    m_mapCache.set(((Integer)m_objCurrentCacheRecord).intValue(), data);
                else
                    m_mapCache.set(((Integer)m_objCurrentCacheRecord).intValue(), null);
            }
            else if (m_htCache != null)
            {
                m_htCache.remove(m_objCurrentCacheRecord);  // Do not put the new record back, as you don't know the new key.
            }
        }
        m_objCurrentPhysicalRecord = NONE;
        m_objCurrentLockedRecord = NONE;
        m_objCurrentCacheRecord = NONE;
    }
590434
@Override
	public void updateDate(final int columnIndex, final Date x) throws SQLException {
		wrapped.updateDate(columnIndex, x);
	}
840280
private void onCacheEntryUpdated(ItemData data)
   {
      if (data == null || data instanceof NullItemData)
      {
         return;
      }
      for (WorkspaceStorageCacheListener listener : listeners)
      {
         try
         {
            listener.onCacheEntryUpdated(data);
         }
         catch (RuntimeException e) //NOSONAR
         {
            LOG.warn("The method onCacheEntryUpdated fails for the listener " + listener.getClass(), e);
         }
      }
   }
1247459
private void onKeyUpdated(final int index, final Map.Entry<String, String> object, final String value) {
        final HashMap<String, String> _m = new LinkedHashMap<String, String>(getValue());
        final String lastKeyValue = object.getKey();
        String mapValue = "";
        if (lastKeyValue != null) {
            mapValue = _m.remove(lastKeyValue);
        }
        _m.put(value, mapValue);
        setValue(_m, true);
    }
833675
public void setKeyMetadata(KeyMetadata keyMetadata) {
    if (this.keyMetadata != null) {
      String format = "Class %s has two fields, %s and %s marked with %s annotation. Only one "
          + "field can be marked as Key. ";
      String message = String.format(format, entityClass.getName(), this.keyMetadata.getName(),
          keyMetadata.getName(), Key.class.getName());
      throw new EntityManagerException(message);

    }
    this.keyMetadata = keyMetadata;
  }
43275
public void put(String strKey, Object strValue)
    {
        if (this.getMessageFieldDesc(strKey) != null)
            this.getMessageFieldDesc(strKey).put(strValue);
        else
            this.putNative(strKey, strValue);
    }
410012
private void setDataSegmentInternal(final String iName) {
    final int dataId = storage.getDataSegmentIdByName(iName);
    config.setDataSegmentId(dataId);
    storage.getConfiguration().update();
  }