Package com.oracle.bmc.http
Class ApacheConnectionPoolConfig
- java.lang.Object
-
- com.oracle.bmc.http.ApacheConnectionPoolConfig
-
public class ApacheConnectionPoolConfig extends Object
The configurable parameters for a client’s connection pool
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApacheConnectionPoolConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApacheConnectionPoolConfig.Builderbuilder()Creates a new Builder used to construct a new ApacheConnectionPoolConfig object.protected booleancanEqual(Object other)booleanequals(Object o)intgetDefaultMaxConnectionsPerRoute()LonggetIdleConnectionTimeoutInMillis()intgetTotalOpenConnections()Map.Entry<Integer,TimeUnit>getTtl()inthashCode()static ApacheConnectionPoolConfignewDefault()Creates a new default ApacheConnectionPoolConfig.StringtoString()
-
-
-
Method Detail
-
newDefault
public static ApacheConnectionPoolConfig newDefault()
Creates a new default ApacheConnectionPoolConfig.- Returns:
- a new default connection pool configuration
-
builder
public static ApacheConnectionPoolConfig.Builder builder()
Creates a new Builder used to construct a new ApacheConnectionPoolConfig object.
-
getTotalOpenConnections
public int getTotalOpenConnections()
-
getDefaultMaxConnectionsPerRoute
public int getDefaultMaxConnectionsPerRoute()
-
getIdleConnectionTimeoutInMillis
public Long getIdleConnectionTimeoutInMillis()
-
canEqual
protected boolean canEqual(Object other)
-
-