@Override public void process(DistributionMessage msg) { try { if (msg instanceof FetchPartitionDetailsReplyMessage) { FetchPartitionDetailsReplyMessage reply = (FetchPartitionDetailsReplyMessage)msg; InternalPartitionDetails details = reply.unmarshalPartitionMemberDetails(); if (details != null) { synchronized(allDetails) { this.allDetails.add(details); //This just picks the offline details from the last member to return this.offlineDetails = reply.offlineDetails; } if (logger.isTraceEnabled(LogMarker.DM)) { logger.debug("FetchPartitionDetailsResponse return details is {}", details); } } else if (logger.isTraceEnabled(LogMarker.DM)) { logger.debug("FetchPartitionDetailsResponse ignoring null details"); } } } finally { super.process(msg); } }
@Override public void process(DistributionMessage msg) { try { if (msg instanceof FetchPartitionDetailsReplyMessage) { FetchPartitionDetailsReplyMessage reply = (FetchPartitionDetailsReplyMessage)msg; InternalPartitionDetails details = reply.unmarshalPartitionMemberDetails(); if (details != null) { synchronized(allDetails) { this.allDetails.add(details); //This just picks the offline details from the last member to return this.offlineDetails = reply.offlineDetails; } if (DistributionManager.VERBOSE) { getDistributionManager().getLoggerI18n().fine( "FetchPartitionDetailsResponse return details is " + details); } } else if (DistributionManager.VERBOSE) { getDistributionManager().getLoggerI18n().fine( "FetchPartitionDetailsResponse ignoring null details"); } } } finally { super.process(msg); } }