int retVal = job.waitForCompletion(true)?0:1;
CounterGroup counters = job.getCounters().getGroup(CollectionMapper.RESOLVER_GROUP);
Counter constructMessageMS = counters.findCounter(CollectionMapper.CONSTRUCT_MESSAGE_MS);
Counter parseResponseMS = counters.findCounter(CollectionMapper.PARSE_RESPONSE_MS);
Counter performRequestMS = counters.findCounter(CollectionMapper.PERFORM_REQUEST_MS);
Counter totalRequestHandlingMS = counters.findCounter(CollectionMapper.TOTAL_REQUEST_HANDLING_MS);
Log.info("Total ConstructMessage percent: "+ (double)(constructMessageMS.getValue()*100L)/((double)totalRequestHandlingMS.getValue()));
Log.info("Total ParseResponse percent: "+ (double)(parseResponseMS.getValue()*100L)/((double)totalRequestHandlingMS.getValue()));
Log.info("Total PerformRequest percent: "+ (double)(performRequestMS.getValue()*100L)/((double)totalRequestHandlingMS.getValue()));