public static class HttpClientProperties.Pool
extends java.lang.Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
HttpClientProperties.Pool.PoolType
The enum Pool type.
|
| 构造器和说明 |
|---|
Pool() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Long |
getAcquireTimeout()
Gets acquire timeout.
|
java.lang.Long |
getEvictionInterval()
Gets eviction interval.
|
java.lang.Integer |
getMaxConnections()
Gets max connections.
|
java.lang.Long |
getMaxIdleTime()
Gets maxIdleTime timeout.
|
java.lang.Long |
getMaxLifeTime()
Gets maxLifeTime timeout.
|
java.lang.Boolean |
getMetrics()
Gets metrics.
|
java.lang.String |
getName()
Gets name.
|
HttpClientProperties.Pool.PoolType |
getType()
Gets type.
|
void |
setAcquireTimeout(java.lang.Long acquireTimeout)
Sets acquire timeout.
|
void |
setEvictionInterval(java.lang.Long evictionInterval)
Sets eviction interval.
|
void |
setMaxConnections(java.lang.Integer maxConnections)
Sets max connections.
|
void |
setMaxIdleTime(java.lang.Long maxIdleTime)
Sets maxIdleTime timeout.
|
void |
setMaxLifeTime(java.lang.Long maxLifeTime)
Gets maxLifeTime timeout.
|
void |
setMetrics(java.lang.Boolean metrics)
sets metrics.
|
void |
setName(java.lang.String name)
Sets name.
|
void |
setType(HttpClientProperties.Pool.PoolType type)
Sets type.
|
public HttpClientProperties.Pool.PoolType getType()
public void setType(HttpClientProperties.Pool.PoolType type)
type - the typepublic java.lang.String getName()
public void setName(java.lang.String name)
name - the namepublic java.lang.Integer getMaxConnections()
public void setMaxConnections(java.lang.Integer maxConnections)
maxConnections - the max connectionspublic java.lang.Long getAcquireTimeout()
public void setAcquireTimeout(java.lang.Long acquireTimeout)
acquireTimeout - the acquire timeoutpublic java.lang.Long getMaxIdleTime()
public void setMaxIdleTime(java.lang.Long maxIdleTime)
maxIdleTime - the maxIdleTime timeoutpublic void setMaxLifeTime(java.lang.Long maxLifeTime)
maxLifeTime - the maxLifeTime timeoutpublic java.lang.Long getMaxLifeTime()
public java.lang.Long getEvictionInterval()
public void setEvictionInterval(java.lang.Long evictionInterval)
evictionInterval - the eviction intervalpublic void setMetrics(java.lang.Boolean metrics)
metrics - the metricspublic java.lang.Boolean getMetrics()
Copyright © 2026 The Apache Software Foundation. All rights reserved.