public long getTime() {
            int count = times.size();
            long runningAverage = 0;
            for (int i = 0; i < count; i++) {
                runningAverage += times.poll();
            }

            return count > 0 ? runningAverage / count : 0;
        }
This factory is used only when no ssl connections are required (no https endpoints).
Internally http client would create factory and spend time if no supplied.
client-v2/src/main/java/com/clickhouse/client/api/internal/HttpAPIClientHelper.java