/** * The IdentityResponse processor ignores remote exceptions by implmenting this method. Ignoring * remote exceptions is acceptable since the response is only meant to wait for all healthy * recipients to receive their {@link IdentityUpdateMessage} */ @Override protected synchronized void processException(ReplyException ex) { logger.debug("IdentityUpdateResponse ignoring exception {}", ex.getMessage(), ex); } }
/** * Ignore any incoming exception from other VMs, we just want an acknowledgement that the * message was processed. */ @Override protected void processException(ReplyException ex) { logger.debug("DeposePrimaryBucketMessage ignoring exception {}", ex.getMessage(), ex); } }
/** * Ignore any incoming exception from other VMs, we just want an acknowledgement that the * message was processed. */ @Override protected void processException(ReplyException ex) { logger.debug("MoveBucketMessage ignoring exception: {}", ex.getMessage(), ex); }
/** * The SizeResponse processor ignores remote exceptions by implmenting this method. Ignoring * remote exceptions is acceptable since the SizeMessage is sent to all Nodes and all * {@link SizeMessage.SizeReplyMessage}s are processed for each individual bucket size. The hope * is that any failure due to an exception will be covered by healthy Nodes. */ @Override protected void processException(ReplyException ex) { logger.debug("SizeResponse ignoring exception: {}", ex.getMessage(), ex); }
/** * Ignore any incoming exception from other VMs, we just want an acknowledgement that the * message was processed. */ @Override protected void processException(ReplyException ex) { logger.debug("BecomePrimaryBucketMessage ignoring exception {}", ex.getMessage(), ex); }
/** * Ignore any incoming exception from other VMs, we just want an acknowledgement that the * message was processed. */ @Override protected void processException(ReplyException ex) { logger.debug("RemoveBucketMessage ignoring exception: {}", ex.getMessage(), ex); }
/** * Ignore any incoming exception from other VMs, we just want an acknowledgement that the * message was processed. */ @Override protected void processException(ReplyException ex) { logger.debug("FetchPartitionDetailsResponse ignoring exception {}", ex.getMessage(), ex); }
@Override protected void processException(ReplyException ex) { logger.debug("SizeResponse ignoring exception: {}", ex.getMessage(), ex); }
/** * @return Map buckets and their associated sizes, this should never throw due to the * {@link #processException(ReplyException)}method above */ public Map<Integer, SizeEntry> waitBucketSizes() { try { waitForRepliesUninterruptibly(); } catch (ReplyException e) { logger.debug("{} waitBucketSizes ignoring exception: {}", getClass().getName(), e.getMessage(), e); } synchronized (this.returnValue) { return this.returnValue; } } }
/** * Fetch the next <code>PartitionedRegion</code> identity, used to uniquely identify (globally) * each instance of a <code>PartitionedRegion</code> * * @return the next highest Integer for the <code>PartitionedRegion</code> or null if this is * the first identity * * @see PartitionMessage#getRegionId() */ public Integer waitForId() { try { waitForRepliesUninterruptibly(); } catch (ReplyException e) { logger.debug("{} waitBucketSizes ignoring exception {}", getClass().getName(), e.getMessage(), e); } synchronized (this) { return this.returnValue; } } }
@Override public String toString() { StringBuilder buff = new StringBuilder(); buff.append("CreateRegionReplyMessage"); buff.append("(sender=").append(getSender()); buff.append("; processorId="); buff.append(super.processorId); buff.append("; profile="); buff.append(this.profile); if (this.bucketProfiles != null) { buff.append("; bucketProfiles="); buff.append(this.bucketProfiles); } if (this.eventState != null) { buff.append("; eventState=<not null>"); } buff.append("; skippedCompatibilityChecks="); buff.append(this.skippedCompatibilityChecks); buff.append("; seqKeyForWan="); buff.append(this.seqKeyForWan); if (this.getException() != null) { buff.append("; with exception {").append(getException().getMessage()).append("}"); } buff.append(")"); return buff.toString(); } }
e.getMessage(), e); throw new ForceReattemptException( "Peer requests reattempt", t);