@Override protected StringBuilder getStringBuilder() { return super.getStringBuilder() .append("; prId=").append(this.partitionedRegionId) .append("; isDestroyed=").append(this.isDestroyed) .append("; isClosed=").append(this.isClosed) .append("; retryTimeout=").append(this.retryTimeout) .append("; serialNumber=").append(getSerialNumber()) .append("; hdfsStoreName=").append(getHDFSStoreName()) .append("; hdfsWriteOnly=").append(getHDFSWriteOnly()) .append("; partition attributes=").append(getPartitionAttributes()) .append("; on VM ").append(getMyId()); }
@Override public String toString() { return new StringBuffer() .append("Partitioned Region ") .append("@").append(Integer.toHexString(hashCode())) .append(" [") .append("path='").append(getFullPath()) .append("'; dataPolicy=").append(this.dataPolicy) .append("; prId=").append(this.partitionedRegionId) .append("; isDestroyed=").append(this.isDestroyed) .append("; isClosed=").append(this.isClosed) .append("; retryTimeout=").append(this.retryTimeout) .append("; serialNumber=").append(getSerialNumber()) .append("; hdfsStoreName=").append(getHDFSStoreName()) .append("; hdfsWriteOnly=").append(getHDFSWriteOnly()) .append("; partition attributes=").append(getPartitionAttributes().toString()) .append("; on VM ").append(getMyId()) .append("]") .toString(); }
/** * * @param recipients the set of members on which the partitioned region should be destoryed * @param region the partitioned region * @param processor the processor that the reply will use to notify of the reply. * @see #send(Set, PartitionedRegion, RegionEventImpl, int[]) */ private DestroyPartitionedRegionMessage(Set recipients, PartitionedRegion region, ReplyProcessor21 processor, final RegionEventImpl event, int serials[]) { super(recipients, region.getPRId(), processor, null); this.cbArg = event.getRawCallbackArgument(); this.op = event.getOperation(); this.prSerial = region.getSerialNumber(); Assert.assertTrue(this.prSerial != DistributionAdvisor.ILLEGAL_SERIAL); this.bucketSerials = serials; }
/** * * @param recipients the set of members on which the partitioned region should be destoryed * @param region the partitioned region * @param processor the processor that the reply will use to notify of the reply. * @see #send(Set, PartitionedRegion, RegionEventImpl, int[]) */ private DestroyPartitionedRegionMessage(Set recipients, PartitionedRegion region, ReplyProcessor21 processor, final RegionEventImpl event, int serials[]) { super(recipients, region.getPRId(), processor); this.cbArg = event.getRawCallbackArgument(); this.op = event.getOperation(); this.prSerial = region.getSerialNumber(); Assert.assertTrue(this.prSerial != DistributionAdvisor.ILLEGAL_SERIAL); this.bucketSerials = serials; }
ok = false; if (logger.isDebugEnabled()) { logger.debug("Not removing region {}l serial requested = {}; actual is {}", r.getName(), this.prSerial, r.getSerialNumber());
profile.setSubscriptionAttributes(getSubscriptionAttributes()); profile.serialNumber = getSerialNumber();
profile.isGatewayEnabled = this.enableGateway; profile.serialNumber = getSerialNumber();
dm.getLoggerI18n().fine("Not removing region " + r.getName() + "; serial requested = " + this.prSerial + "; actual is " + r.getSerialNumber());