update text in pool stats description

total kept alive -> total available
This commit is contained in:
chao chang 2019-11-09 19:01:51 +09:00 committed by Oleg Kalnichevski
parent 3d09a43008
commit 0f66609ec2
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ public class PoolingHttpClientConnectionManager
final StringBuilder buf = new StringBuilder();
final PoolStats totals = this.pool.getTotalStats();
final PoolStats stats = this.pool.getStats(route);
buf.append("[total kept alive: ").append(totals.getAvailable()).append("; ");
buf.append("[total available: ").append(totals.getAvailable()).append("; ");
buf.append("route allocated: ").append(stats.getLeased() + stats.getAvailable());
buf.append(" of ").append(stats.getMax()).append("; ");
buf.append("total allocated: ").append(totals.getLeased() + totals.getAvailable());