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(); } } } }
false, !inTokenMode)) { cbEvent = AbstractRegionMap.createCBEvent(this.owner, localOp ? Operation.LOCAL_DESTROY : Operation.DESTROY, key, null, txState, eventId, aCallbackArgument, filterRoutingInfo,
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(); } } } }
cbEvent = AbstractRegionMap.createCBEvent(this.owner, localOp ? Operation.LOCAL_INVALIDATE : Operation.INVALIDATE, key, newValue, txState, eventId, aCallbackArgument, filterRoutingInfo,
EntryEventImpl e = AbstractRegionMap.createCBEvent(this.owner, putOp, key, newValue, txId, txEvent, eventId, aCallbackArgument,filterRoutingInfo,bridgeContext, txEntryState, versionTag, tailKey); try {
cbEvent = AbstractRegionMap.createCBEvent(this.owner, putOp, key, newValue, txState, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, versionTag, tailKey, cbEvent);
EntryEventImpl eei = AbstractRegionMap.createCBEvent(this.r, entryOp.op, entryOp.key, entryOp.value, this.msg.txIdent, txEvent, getEventId(entryOp), entryOp.callbackArg,entryOp.filterRoutingInfo,this.msg.bridgeContext, null, entryOp.versionTag, entryOp.tailKey); try { if(entryOp.filterRoutingInfo!=null) {
EntryEventImpl eei = AbstractRegionMap.createCBEvent(this.r, entryOp.op, entryOp.key, entryOp.value, this.msg.txIdent, txEvent, getEventId(entryOp), entryOp.callbackArg,entryOp.filterRoutingInfo,this.msg.bridgeContext, null, entryOp.versionTag, entryOp.tailKey); if(entryOp.filterRoutingInfo!=null) { eei.setLocalFilterInfo(entryOp.filterRoutingInfo.getFilterInfo(this.r.getCache().getMyId()));
cbEvent.setEntryLastModified(lastMod); cbEvent = createCBEvent(owner, localOp ? Operation.LOCAL_DESTROY : Operation.DESTROY, key, null, txState, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, cbEvent = createCBEvent(owner, localOp ? Operation.LOCAL_DESTROY : Operation.DESTROY, key, null, txState, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, if (!isRegionReady) { txEvent = createCBEvent(owner, localOp ? Operation.LOCAL_DESTROY : Operation.DESTROY, key, null, txState, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext,
cbEvent = createCBEvent(owner, localOp ? Operation.LOCAL_INVALIDATE : Operation.INVALIDATE, key, newValue, txId, txEvent, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, txEntryState, versionTag, tailKey); boolean invokeCallbacks = shouldCreateCBEvent( owner, true /* isInvalidate */, owner.isInitialized()); boolean cbEventInPending = false; cbEvent = createCBEvent(owner, localOp ? Operation.LOCAL_INVALIDATE : Operation.INVALIDATE, key, newValue, txId, txEvent, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, txEntryState, versionTag, tailKey); cbEvent = createCBEvent(owner, localOp ? Operation.LOCAL_INVALIDATE : Operation.INVALIDATE, key, newValue, txId, txEvent, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, txEntryState, versionTag, tailKey); cbEvent = createCBEvent(owner, localOp ? Operation.LOCAL_INVALIDATE : Operation.INVALIDATE, key, newValue, txId, txEvent, eventId, aCallbackArgument,
EntryEventImpl cbEvent = createCBEvent(owner, op, key, null, txId, txEvent, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, txEntryState, versionTag, tailKey); try { try { boolean invokeCallbacks = shouldCreateCBEvent(owner, false, isRegionReady || inRI); cbEvent = createCBEvent(owner, op, key, null, txId, txEvent, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, txEntryState, versionTag, tailKey); try { cbEvent = createCBEvent(owner, op, key, null, txId, txEvent, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, txEntryState, versionTag, tailKey); try { EntryEventImpl cbEvent = createCBEvent(owner, op, key, null, txId, txEvent, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, txEntryState, versionTag, tailKey);
cbEvent.setEntryLastModified(lastMod); cbEvent = createCBEvent(owner, localOp ? Operation.LOCAL_INVALIDATE : Operation.INVALIDATE, key, newValue, txState, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext,
boolean invokeCallbacks = shouldCreateCBEvent(owner, false /*isInvalidate*/, isRegionReady); boolean cbEventInPending = false; cbEvent = createCBEvent(owner, putOp, key, newValue, txId, txEvent, eventId, aCallbackArgument,filterRoutingInfo,bridgeContext, txEntryState, versionTag, tailKey); try { (getIndexUpdater() != null || (newValue instanceof com.gemstone.gemfire.internal.cache.delta.Delta))) { sqlfEvent = createCBEvent(owner, putOp, key, newValue, txId, txEvent, eventId, aCallbackArgument,filterRoutingInfo,bridgeContext, txEntryState, versionTag, tailKey);
cbEvent = createCBEvent(owner, putOp, key, newValue, txState, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, versionTag, tailKey, cbEvent); txEvent = createCBEvent(owner, putOp, key, newValue, txState, eventId, aCallbackArgument, filterRoutingInfo, bridgeContext, versionTag, tailKey, cbEvent);