private final void txApplyInvalidateLocally(LocalRegion r, Object key, Object newValue, boolean didDestroy, TXState txState, TXRegionState txr, EntryEventImpl cbEvent) { try { r.txApplyInvalidate(this.regionEntry, txState, key, newValue, didDestroy, isOpLocalInvalidate() ? true : false, getNearSideEventId(txState), getCallbackArgument(), txState.getPendingCallbacks(), null, null, null, -1, txr, cbEvent); } catch (RegionDestroyedException ignore) { } catch (EntryDestroyedException ignore) { } }
private final void txApplyPutLocally(LocalRegion r, Operation putOp, Object key, Object newValue, boolean didDestroy, TXState txState, TXRegionState txr, EntryEventImpl cbEvent) { try { r.txApplyPut(putOp, this.regionEntry, txState, key, newValue, didDestroy, getNearSideEventId(txState), getCallbackArgument(), txState.getPendingCallbacks(), null, null, null, cbEvent.getTailKey(), txr, cbEvent, this.pendingDelta); } catch (RegionDestroyedException ignore) { } catch (EntryDestroyedException ignore) { } }
private final void txApplyPutLocally(LocalRegion r, Operation putOp, Object key, Object newValue, boolean didDestroy, TXState txState) { try { r.txApplyPut(putOp, key, newValue, didDestroy, txState.getTransactionId(), null, getNearSideEventId(txState), callBackArgument,txState.getPendingCallbacks(), getFilterRoutingInfo(), txState.bridgeContext, this, null, -1); } catch (RegionDestroyedException ignore) { } catch (EntryDestroyedException ignore) { } }
private final void txApplyInvalidateLocally(LocalRegion r, Object key, Object newValue, boolean didDestroy, TXState txState) { try { r.txApplyInvalidate(key, newValue, didDestroy, txState.getTransactionId(), null, isOpLocalInvalidate() ? true : false, getNearSideEventId(txState), callBackArgument,txState.getPendingCallbacks(), getFilterRoutingInfo(), txState.bridgeContext, this, null, -1); } catch (RegionDestroyedException ignore) { } catch (EntryDestroyedException ignore) { } }
private final void txApplyDestroyLocally(LocalRegion r, Object key, TXState txState) { boolean invokeCallbacks = isOpDestroyEvent(r); List<EntryEventImpl> pendingCallbacks = invokeCallbacks ? txState.getPendingCallbacks() : new ArrayList<EntryEventImpl>(); try { r.txApplyDestroy(key, txState.getTransactionId(), null, false/*inTokenMode*/, getDestroyOperation(), getNearSideEventId(txState), callBackArgument, pendingCallbacks ,getFilterRoutingInfo(), txState.bridgeContext, false, this, null, -1); } catch (RegionDestroyedException ignore) { } catch (EntryDestroyedException ignore) { } // if !isOpDestroyEvent then // this destroy, to local committed state, becomes a noop // since nothing needed to be done locally. // We don't want to actually do the destroy since we told the // transaction listener that no destroy was done. }
private final void txApplyDestroyLocally(LocalRegion r, Object key, TXState txState, TXRegionState txr, EntryEventImpl cbEvent) { if (isOpDestroyEvent(r)) { try { r.txApplyDestroy(this.regionEntry, txState, key, false /*inTokenMode*/, isOpLocalDestroy(), getNearSideEventId(txState), getCallbackArgument(), txState.getPendingCallbacks(), null, null, null, cbEvent.getTailKey(), txr, cbEvent); } catch (RegionDestroyedException ignore) { } catch (EntryDestroyedException ignore) { } } // if !isOpDestroyEvent then // this destroy, to local committed state, becomes a noop // since nothing needed to be done locally. // We don't want to actually do the destroy since we told the // transaction listener that no destroy was done. }