public final TXEntryState createReadEntry(final Object entryKey, final RegionEntry re, final Object val, final boolean doFullValueFlush) { final TXEntryState result = createEntry(entryKey, re, val, doFullValueFlush); getEntryMap().put(entryKey, result); return result; }
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); } }
this.proxy.cleanupIndexEntry(txr, tx, op); if (lockedForRead) { Object oldEntryState = txr.getEntryMap().put(key, entry); if(oldEntryState instanceof TXEntryState) { ((TXEntryState)oldEntryState).release();
+ "unexpected responseCode=" + responseCode); this.pendingReplies.put(sender, Token.DESTROYED); if (this.latch == null) { addResult(sender, replyMsg.getException());
+ "unexpected responseCode=" + responseCode); this.pendingReplies.put(sender, Token.DESTROYED); if (this.latch == null) { addResult(sender, replyMsg.getException());
+ "unexpected responseCode=" + responseCode); this.pendingReplies.put(sender, Token.DESTROYED); if (this.latch == null) { addResult(sender, replyMsg.getException());
txr.getEntryMap().put(eventKey, entry);