com.contentstack.sdk.CSConnectionPool Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java Show documentation
Show all versions of java Show documentation
Java SDK for Contentstack Content Delivery API
package com.contentstack.sdk;
import okhttp3.ConnectionPool;
import java.util.concurrent.TimeUnit;
public class CSConnectionPool {
ConnectionPool create() {
return new ConnectionPool();
}
ConnectionPool create(int maxIdleConnections, long keepAliveDuration, TimeUnit timeUnit) {
return new ConnectionPool(maxIdleConnections, keepAliveDuration, timeUnit);
}
}