/** * Get the adjunct receivers for a partitioned region operation * * @param br * the PR bucket * @param cacheOpReceivers * the receivers of the CacheOperationMessage for this op * @param twoMessages * PR members that are creating the bucket and need both cache op * and adjunct messages * @param routing * client routing information */ Set getAdjunctReceivers(BucketRegion br, Set cacheOpReceivers, Set twoMessages, FilterRoutingInfo routing) { return br.getAdjunctReceivers(this.getEvent(), cacheOpReceivers, twoMessages, routing); }
/** * Get the adjunct receivers for a partitioned region operation * * @param br * the PR bucket * @param cacheOpReceivers * the receivers of the CacheOperationMessage for this op * @param twoMessages * PR members that are creating the bucket and need both cache op * and adjunct messages * @param routing * client routing information */ Set getAdjunctReceivers(BucketRegion br, Set cacheOpReceivers, Set twoMessages, FilterRoutingInfo routing) { return br.getAdjunctReceivers(this.getEvent(), cacheOpReceivers, twoMessages, routing); }
EntryEventImpl entryEvent = event.getOperation().isEntry()? getEvent() : null; adjunctRecipients.removeAll(adjunctRecipientsWithNoCacheServer); if (!adjunctRecipients.isEmpty()) { ((BucketRegion)region).performAdjunctMessaging(getEvent(), recipients, adjunctRecipients, filterRouting, this.processor, calculateDelta, true); ((BucketRegion)region).performAdjunctMessaging(getEvent(), recipients, adjunctRecipientsWithNoCacheServer, filterRouting, this.processor, calculateDelta, false);
EntryEventImpl entryEvent = event.getOperation().isEntry()? getEvent() : null; adjunctRecipients.removeAll(adjunctRecipientsWithNoCacheServer); if (!adjunctRecipients.isEmpty()) { ((BucketRegion)region).performAdjunctMessaging(getEvent(), recipients, adjunctRecipients, filterRouting, this.processor, calculateDelta, true); ((BucketRegion)region).performAdjunctMessaging(getEvent(), recipients, adjunctRecipientsWithNoCacheServer, filterRouting, this.processor, calculateDelta, false); && (op = getEvent().getOperation()).isDestroy() && op.isDistributed() && sendingTwoMessages) { if (DistributionManager.VERBOSE || logger.fineEnabled()) {
protected void initMessage(CacheOperationMessage msg, DirectReplyProcessor p) { final DistributedRegion region = getRegion(); msg.regionPath = region.getFullPath(); msg.processorId = p == null ? 0 : p.getProcessorId(); msg.processor = p; if (this.event.getOperation().isEntry()) { EntryEventImpl entryEvent = getEvent(); msg.callbackArg = entryEvent.getRawCallbackArgument(); msg.possibleDuplicate = entryEvent.isPossibleDuplicate(); VersionTag tag = entryEvent.getVersionTag(); msg.setInhibitNotificationsBit(entryEvent.inhibitAllNotifications()); if (tag != null && tag.hasValidVersion()) { msg.setVersionTag(tag); } } else { msg.callbackArg = ((RegionEventImpl)this.event).getRawCallbackArgument(); } msg.op = this.event.getOperation(); msg.owner = this; msg.regionAllowsConflation = region.getEnableAsyncConflation(); }
protected void initMessage(CacheOperationMessage msg, DirectReplyProcessor p) { msg.regionPath = getRegion().getFullPath(); msg.processorId = p == null ? 0 : p.getProcessorId(); msg.processor = p; if (this.event.getOperation().isEntry()) { EntryEventImpl entryEvent = getEvent(); msg.callbackArg = entryEvent.getRawCallbackArgument(); msg.possibleDuplicate = entryEvent.isPossibleDuplicate(); VersionTag tag = entryEvent.getVersionTag(); msg.setInhibitNotificationsBit(entryEvent.inhibitAllNotifications()); if (tag != null && tag.hasValidVersion()) { msg.setVersionTag(tag); } } else { msg.callbackArg = ((RegionEventImpl)this.event).getRawCallbackArgument(); } msg.op = this.event.getOperation(); msg.owner = this; msg.regionAllowsConflation = getRegion().getEnableAsyncConflation(); }