public interface OkHttpClientConnectionPoolFactory
ConnectionPools for OkHttpClients| Modifier and Type | Method and Description |
|---|---|
okhttp3.ConnectionPool |
create(int maxIdleConnections,
long keepAliveDuration,
TimeUnit timeUnit)
Creates a new
ConnectionPool. |
okhttp3.ConnectionPool create(int maxIdleConnections,
long keepAliveDuration,
TimeUnit timeUnit)
ConnectionPool.maxIdleConnections - number of max idle connections to allowkeepAliveDuration - amount of time to keep connections alivetimeUnit - the time unit for the keep alive durationConnectionPoolCopyright © 2018 Pivotal Software, Inc.. All rights reserved.