core/src/main/java/com/orientechnologies/orient/core/cache/OLocalRecordCache.java
public void updateRecord(final ORecord record) {
    if (record.getIdentity().getClusterId() != excludedCluster && record.getIdentity().isValid() && !record.isDirty()
        && !ORecordVersionHelper.isTombstone(record.getVersion())) {
      if (underlying.get(record.getIdentity()) != record)
        underlying.put(record);
    }
  }
public void updateRecord(final ORecord record) {
    if (record.getIdentity().getClusterId() != excludedCluster && record.getIdentity().isValid() && !record.isDirty()
        && !ORecordVersionHelper.isTombstone(record.getVersion())) {
      if (underlying.get(record.getIdentity()) != record)
        underlying.put(record);
    }
  }
Pushes record to cache. Identifier of record used as access key

@param record
record that should be cached