protected void applyBatchOperationOnNewEntry(final TXState txState, final LockingPolicy lockPolicy, final TXRegionState txrs, final LocalRegion region, final LocalRegion dataRegion, final Object regionValue, final RegionEntry entry, final boolean lockedForRead, final boolean checkValid, final EntryEventImpl eventTemplate) { // this EntryState should go into the TXState list and TXRegionState mods if (lockedForRead) { // release the read lock since write lock has been acquired lockPolicy.releaseLock(entry, lockPolicy.getReadLockMode(), txState.txId, false, dataRegion); } final THashMapWithCreate entryMap = checkValid ? txrs.getEntryMap() : txrs .getInternalEntryMap(); entryMap.put(this.regionKey, this); if (isDirty()) { updateForCommit(txState); } }
entry.updateForCommit(this);
entry.updateForCommit(this);
region, currentTXEntry.op); currentTXEntry.updateForCommit(txState);