@Override protected void appendFields(StringBuffer buff) { super.appendFields(buff); }
@Override protected short computeCompressedShort(short s) { s = super.computeCompressedShort(s); if (this.access) s |= HAS_ACCESS; return s; }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); this.bucketId = in.readInt(); }
PartitionedRegion pr = null; long startTime = 0; EntryLogger.setSource(getSender(), "PR"); try { if (checkCacheClosing(dm) || checkDSClosing(dm)) { thr = new CacheClosedException(LocalizedStrings.PartitionMessage_REMOTE_CACHE_IS_CLOSED_0.toLocalizedString(dm.getId())); return; if (pr == null && failIfRegionMissing()) { try { tx = txMgr.masqueradeAs(this); sendReply = operateOnPartitionedRegion(dm, pr, startTime); } finally { txMgr.unmasquerade(tx); if (!checkDSClosing(dm)) { thr = t; sendReply(getSender(), this.processorId, dm, rex, pr, startTime); EntryLogger.clearSource();
msg = msg.getMessageForRelayToListeners(event, adjunctRecipients); msg.setSender(this.partitionedRegion.getDistributionManager() .getDistributionManagerId()); msg.setSendDeltaWithFullValue(sendDeltaWithFullValue); failures = msg.relayToListeners(cacheOpRecipients, adjunctRecipients, filterRoutingInfo, event, this.partitionedRegion, processor);
public final InternalDistributedMember getMemberToMasqueradeAs() { if(txMemberId==null) { return getSender(); } return txMemberId; }
/** Send a generic ReplyMessage. This is in a method so that subclasses can override the reply message type * @param pr the Partitioned Region for the message whose statistics are incremented * @param startTime the start time of the operation in nanoseconds * @see PutMessage#sendReply */ protected void sendReply(InternalDistributedMember member, int procId, DM dm, ReplyException ex, PartitionedRegion pr, long startTime) { if (pr != null && startTime > 0) { pr.getPrStats().endPartitionMessagesProcessing(startTime); } ReplyMessage.send(member, procId, ex, getReplySender(dm), this, pr != null && pr.isInternalRegion()); }
public InternalDistributedMember getRecipient() { return getRecipients()[0]; }
PartitionedRegion pr = null; long startTime = 0; EntryLogger.setSource(getSender(), "PR"); try { logger = dm.getLoggerI18n(); if (checkCacheClosing(dm) || checkDSClosing(dm)) { String msg = LocalizedStrings.PartitionMessage_REMOTE_CACHE_IS_CLOSED_0 .toLocalizedString(dm.getId()); if (pr == null && failIfRegionMissing()) { .toLocalizedString(dm.getId())); if (getTXId() == null) { sendReply = operateOnPartitionedRegion(dm, pr, startTime); true); try { sendReply = operateOnPartitionedRegion(dm, pr, startTime); } finally { txMgr.unmasquerade(context, true); else if (!checkDSClosing(dm)) { thr = t; sendReply(getSender(), this.processorId, dm, rex, pr, startTime); EntryLogger.clearSource();
msg = msg.getMessageForRelayToListeners(event, adjunctRecipients); msg.setSender(this.partitionedRegion.getDistributionManager() .getDistributionManagerId()); msg.setSendDeltaWithFullValue(sendDeltaWithFullValue); failures = msg.relayToListeners(cacheOpRecipients, adjunctRecipients, filterRoutingInfo, event, this.partitionedRegion, processor);
/** Send a generic ReplyMessage. This is in a method so that subclasses can override the reply message type * @param pr the Partitioned Region for the message whose statistics are incremented * @param startTime the start time of the operation in nanoseconds * @see PutMessage#sendReply */ protected void sendReply(InternalDistributedMember member, int procId, DM dm, ReplyException ex, PartitionedRegion pr, long startTime) { if (pr != null && startTime > 0) { pr.getPrStats().endPartitionMessagesProcessing(startTime); } ReplyMessage.send(member, procId, ex, getReplySender(dm), pr != null && pr.isInternalRegion()); }
public InternalDistributedMember getRecipient() { return getRecipients()[0]; }
@Override protected void appendFields(StringBuilder buff) { super.appendFields(buff); buff.append("; bucketId=").append(this.bucketId); }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); this.bucketId = in.readInt(); }
@Override protected short computeCompressedShort(short s) { s = super.computeCompressedShort(s); if (this.estimate) s |= ESTIMATE; return s; }
@Override protected void appendFields(StringBuffer buff) { super.appendFields(buff); buff.append("; bucketId=").append(this.bucketId); }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); this.bucketId = in.readInt(); }
@Override protected short computeCompressedShort(short s) { s = super.computeCompressedShort(s); if (this.posDup) { s |= POS_DUP; } return s; }