public static final class ALBConnPoolProperties.Builder
extends java.lang.Object
ALBConnPoolProperties.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ALBConnPoolProperties. |
| Modifier and Type | Method and Description |
|---|---|
ALBConnPoolProperties |
build() |
ALBConnPoolProperties.Builder |
setUpstreamConnpoolConnIdleTmo(java.lang.Long upstreamConnpoolConnIdleTmo)
Connection idle timeout.
|
ALBConnPoolProperties.Builder |
setUpstreamConnpoolConnLifeTmo(java.lang.Long upstreamConnpoolConnLifeTmo)
Connection life timeout.
|
ALBConnPoolProperties.Builder |
setUpstreamConnpoolConnMaxReuse(java.lang.Long upstreamConnpoolConnMaxReuse)
Maximum number of times a connection can be reused.
|
ALBConnPoolProperties.Builder |
setUpstreamConnpoolServerMaxCache(java.lang.Long upstreamConnpoolServerMaxCache)
Maximum number of connections a server can cache.
|
public Builder()
ALBConnPoolProperties.public ALBConnPoolProperties.Builder setUpstreamConnpoolConnIdleTmo(java.lang.Long upstreamConnpoolConnIdleTmo)
upstreamConnpoolConnIdleTmo - New value for the property.public ALBConnPoolProperties.Builder setUpstreamConnpoolConnLifeTmo(java.lang.Long upstreamConnpoolConnLifeTmo)
upstreamConnpoolConnLifeTmo - New value for the property.public ALBConnPoolProperties.Builder setUpstreamConnpoolConnMaxReuse(java.lang.Long upstreamConnpoolConnMaxReuse)
upstreamConnpoolConnMaxReuse - New value for the property.public ALBConnPoolProperties.Builder setUpstreamConnpoolServerMaxCache(java.lang.Long upstreamConnpoolServerMaxCache)
upstreamConnpoolServerMaxCache - New value for the property.public ALBConnPoolProperties build()