public void txApplyDestroy(Object key, TransactionId txId, TXRmtEvent txEvent, boolean inTokenMode, boolean inRI, Operation op, EventID eventId, Object aCallbackArgument,List<EntryEventImpl> pendingCallbacks,FilterRoutingInfo filterRoutingInfo,ClientProxyMembershipID bridgeContext, boolean isOriginRemote, TXEntryState txEntryState, VersionTag versionTag, long tailKey) { this.owner.txApplyDestroyPart2(markerEntry, key, inTokenMode, false /*Clear conflict occured */); if (!inTokenMode) { if (txEvent != null) { txEvent.addDestroy(this.owner, markerEntry, key,aCallbackArgument); } if (AbstractRegionMap.shouldCreateCBEvent(this.owner, false, !inTokenMode)) { // fix for bug 39526 EntryEventImpl e = AbstractRegionMap.createCBEvent(this.owner, op, key, null, txId, txEvent, eventId, aCallbackArgument,filterRoutingInfo,bridgeContext, txEntryState, versionTag, tailKey); boolean cbEventInPending = false; try { AbstractRegionMap.switchEventOwnerAndOriginRemote(e, txEntryState == null); if (pendingCallbacks == null) { this.owner .invokeTXCallbacks(EnumListenerEvent.AFTER_DESTROY, e, true/* callDispatchListenerEvent */); } else { pendingCallbacks.add(e); cbEventInPending = true; } } finally { if (!cbEventInPending) e.release(); } } } }
if (AbstractRegionMap.shouldCreateCBEvent(this.owner, false, !inTokenMode)) {
public void txApplyInvalidate(Object key, Object newValue, boolean didDestroy, TransactionId txId, TXRmtEvent txEvent, boolean localOp, EventID eventId, Object aCallbackArgument,List<EntryEventImpl> pendingCallbacks,FilterRoutingInfo filterRoutingInfo,ClientProxyMembershipID bridgeContext, TXEntryState txEntryState, VersionTag versionTag, long tailKey) { this.owner.txApplyInvalidatePart2(markerEntry, key, didDestroy, true, false /*Clear conflic occured */); if (this.owner.isInitialized()) { if (txEvent != null) { txEvent.addInvalidate(this.owner, markerEntry, key, newValue,aCallbackArgument); } if (AbstractRegionMap.shouldCreateCBEvent(this.owner, true, this.owner.isInitialized())) { // fix for bug 39526 boolean cbEventInPending = false; EntryEventImpl e = AbstractRegionMap.createCBEvent(this.owner, localOp ? Operation.LOCAL_INVALIDATE : Operation.INVALIDATE, key, newValue, txId, txEvent, eventId, aCallbackArgument,filterRoutingInfo,bridgeContext, txEntryState, versionTag, tailKey); try { AbstractRegionMap.switchEventOwnerAndOriginRemote(e, txEntryState == null); if (pendingCallbacks == null) { this.owner.invokeTXCallbacks(EnumListenerEvent.AFTER_INVALIDATE, e, true/* callDispatchListenerEvent */); } else { pendingCallbacks.add(e); cbEventInPending = true; } } finally { if (!cbEventInPending) e.release(); } } } }
if (AbstractRegionMap.shouldCreateCBEvent(this.owner, true, this.owner.isInitialized())) {
txEvent.addPut(putOp, this.owner, markerEntry, key, newValue,aCallbackArgument); if (AbstractRegionMap.shouldCreateCBEvent(this.owner, false, this.owner.isInitialized())) {
if (AbstractRegionMap.shouldCreateCBEvent(this.owner, false, this.owner.isInitialized())) {
boolean invokeCallbacks = shouldCreateCBEvent(owner, true, owner.isInitialized()); boolean cbEventInPending = false; cbEvent = createCBEvent(owner, boolean invokeCallbacks = shouldCreateCBEvent( owner, true /* isInvalidate */, owner.isInitialized()); boolean cbEventInPending = false; cbEvent = createCBEvent(owner, boolean invokeCallbacks = shouldCreateCBEvent(owner, true, owner.isInitialized()); boolean cbEventInPending = false; cbEvent = createCBEvent(owner,
boolean invokeCallbacks = shouldCreateCBEvent(owner, false/*isInvalidate*/, isRegionReady || inRI); EntryEventImpl cbEvent = createCBEvent(owner, op, key, null, txId, txEvent, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, txEntryState, versionTag, tailKey); boolean invokeCallbacks = shouldCreateCBEvent(owner, false, isRegionReady || inRI); cbEvent = createCBEvent(owner, op, key, null, txId, txEvent, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, txEntryState, versionTag, tailKey); boolean invokeCallbacks = shouldCreateCBEvent(owner, false, isRegionReady || inRI); cbEvent = createCBEvent(owner, op, key, null, txId, txEvent, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, txEntryState, versionTag, tailKey);
if (shouldCreateCBEvent(owner, false/* isInvalidate */, isRegionReady || inRI)) { if (shouldCreateCBEvent(owner, false /* isInvalidate */, isRegionReady || inRI)) { cbEvent = createCBEvent(owner, localOp ? Operation.LOCAL_DESTROY
if (shouldCreateCBEvent(owner, true /* isInvalidate */, owner.isInitialized())) {
EntryEventImpl cbEvent = null; EntryEventImpl sqlfEvent = null; boolean invokeCallbacks = shouldCreateCBEvent(owner, false /*isInvalidate*/, isRegionReady); boolean cbEventInPending = false; cbEvent = createCBEvent(owner, putOp, key, newValue, txId,
cbEvent.setEntryLastModified(lastMod); if (shouldCreateCBEvent(owner, false /* isInvalidate */, isRegionReady)) { cbEvent = createCBEvent(owner, putOp, key, newValue, txState, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, versionTag,