public interface OkHttpClientConnectionPoolFactory
ConnectionPool
s for OkHttpClient
sModifier 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 durationConnectionPool
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.