public static class HttpClientProperties.Pool extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
HttpClientProperties.Pool.PoolType
The enum Pool type.
|
| 构造器和说明 |
|---|
Pool() |
| 限定符和类型 | 方法和说明 |
|---|---|
Long |
getAcquireTimeout()
Gets acquire timeout.
|
Integer |
getMaxConnections()
Gets max connections.
|
String |
getName()
Gets name.
|
HttpClientProperties.Pool.PoolType |
getType()
Gets type.
|
void |
setAcquireTimeout(Long acquireTimeout)
Sets acquire timeout.
|
void |
setMaxConnections(Integer maxConnections)
Sets max connections.
|
void |
setName(String name)
Sets name.
|
void |
setType(HttpClientProperties.Pool.PoolType type)
Sets type.
|
String |
toString() |
public HttpClientProperties.Pool.PoolType getType()
public void setType(HttpClientProperties.Pool.PoolType type)
type - the typepublic String getName()
public void setName(String name)
name - the namepublic Integer getMaxConnections()
public void setMaxConnections(Integer maxConnections)
maxConnections - the max connectionspublic Long getAcquireTimeout()
public void setAcquireTimeout(Long acquireTimeout)
acquireTimeout - the acquire timeoutCopyright © 2019 dromara. All rights reserved.