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 allow.keepAliveDuration - Amount of time to keep connections alive.timeUnit - The time unit for the keep-alive duration.ConnectionPool.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.