Package com.orientechnologies.orient.core.cache

Examples of com.orientechnologies.orient.core.cache.ODatabaseRecordCache.deleteRecord()


      final Iterable<? extends OTransactionEntry> iEntries) throws IOException {
    final ODatabaseRecordCache dbCache = iTx.getDatabase().getCache();

    for (OTransactionEntry txEntry : iEntries) {
      if (txEntry.status == OTransactionEntry.DELETED)
        dbCache.deleteRecord(txEntry.getRecord().getIdentity());
      else if (txEntry.status == OTransactionEntry.UPDATED || txEntry.status == OTransactionEntry.CREATED)
        dbCache.updateRecord(txEntry.getRecord());
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.