262263264265266267268269270271272
} } finally { Stats stats = new Stats(); if (client != null) { stats.aggregate(client.stats()); client = null; } if (scrollQuery != null) { stats.aggregate(scrollQuery.stats()); scrollQuery = null;
266267268269270271272273274275276
if (client != null) { stats.aggregate(client.stats()); client = null; } if (scrollQuery != null) { stats.aggregate(scrollQuery.stats()); scrollQuery = null; } ReportingUtils.report(progressable, stats); } }
385386387388389390391392393394395
@Override public Stats stats() { Stats copy = new Stats(stats); if (network != null) { copy.aggregate(network.stats()); } return copy; } private void countStreamStats(InputStream content) {
142143144145146147148149150151152
@Override public Stats stats() { Stats copy = new Stats(stats); if (currentTransport != null) { copy.aggregate(currentTransport.stats()); } return copy; } Stats transportStats() {
350351352353354355356357358359360
@Override public Stats stats() { Stats copy = new Stats(stats); if (client != null) { copy.aggregate(client.stats()); } return copy; } public Settings getSettings() {
290291292293294295296297298299300
294295296297298299300301302303304
383384385386387388389390391392393
121122123124125126127128129130131
304305306307308309310311312313314