List < Connection > function ( ) { waitForCleanupCallableToRun ( ) ; synchronized ( this ) { return new ArrayList < Connection > ( connections ) ; } }
returns a snapshot of the connections in this pool , ordered from newest to oldest . waits for the cleanup callable to run if it is currently scheduled . concode_field_sep ConnectionPool systemDefault concode_elem_sep LinkedList<Connection> connections concode_elem_sep long keepAliveDurationNs concode_elem_sep long DEFAULT_KEEP_ALIVE_DURATION_MS concode_elem_sep int MAX_CONNECTIONS_TO_CLEANUP concode_elem_sep Callable<Void> connectionsCleanupCallable concode_elem_sep ExecutorService executorService concode_elem_sep int maxIdleConnections concode_field_sep Void call concode_elem_sep void waitForCleanupCallableToRun concode_elem_sep int getHttpConnectionCount concode_elem_sep void evictAll concode_elem_sep int getSpdyConnectionCount concode_elem_sep Connection get concode_elem_sep void recycle concode_elem_sep void maybeShare concode_elem_sep ConnectionPool getDefault concode_elem_sep int getConnectionCount