@Override public String toString() { StringBuffer sb = new StringBuffer(); sb.append("FetchPartitionDetailsReplyMessage ") .append("processorid=").append(this.processorId) .append(" reply to sender ").append(this.getSender()) .append(" returning configuredMaxMemory=").append(this.configuredMaxMemory) .append(" size=").append(this.size) .append(" bucketCount=").append(this.bucketCount) .append(" primaryCount=").append(this.primaryCount) .append(" prLoad=").append(this.prLoad) .append(" bucketSizes=").append(Arrays.toString(this.bucketSizes)); return sb.toString(); } }
@Override public String toString() { StringBuffer sb = new StringBuffer(); sb.append("FetchPartitionDetailsReplyMessage ") .append("processorid=").append(this.processorId) .append(" reply to sender ").append(this.getSender()) .append(" returning configuredMaxMemory=").append(this.configuredMaxMemory) .append(" size=").append(this.size) .append(" bucketCount=").append(this.bucketCount) .append(" primaryCount=").append(this.primaryCount) .append(" prLoad=").append(this.prLoad) .append(" bucketSizes=").append(Arrays.toString(this.bucketSizes)); return sb.toString(); } }
InternalPartitionDetails unmarshalPartitionMemberDetails() { if (this.configuredMaxMemory == 0) { return null; } else { if (this.prLoad == null) { return new PartitionMemberInfoImpl( getSender(), this.configuredMaxMemory, this.size, this.bucketCount, this.primaryCount); } else { return new PartitionMemberInfoImpl( getSender(), this.configuredMaxMemory, this.size, this.bucketCount, this.primaryCount, this.prLoad, this.bucketSizes); } } }
InternalPartitionDetails unmarshalPartitionMemberDetails() { if (this.configuredMaxMemory == 0) { return null; } else { if (this.prLoad == null) { return new PartitionMemberInfoImpl( getSender(), this.configuredMaxMemory, this.size, this.bucketCount, this.primaryCount); } else { return new PartitionMemberInfoImpl( getSender(), this.configuredMaxMemory, this.size, this.bucketCount, this.primaryCount, this.prLoad, this.bucketSizes); } } }