Class ConnectionWorkerPool.Settings.Builder (2.21.0)

public abstract static class ConnectionWorkerPool.Settings.Builder

Builder for the options to config ConnectionWorkerPool.

Inheritance

java.lang.Object > ConnectionWorkerPool.Settings.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract ConnectionWorkerPool.Settings build()
Returns
TypeDescription
ConnectionWorkerPool.Settings

setMaxConnectionsPerPool(int value)

public abstract ConnectionWorkerPool.Settings.Builder setMaxConnectionsPerPool(int value)
Parameter
NameDescription
valueint
Returns
TypeDescription
ConnectionWorkerPool.Settings.Builder

setMinConnectionsPerPool(int value)

public abstract ConnectionWorkerPool.Settings.Builder setMinConnectionsPerPool(int value)
Parameter
NameDescription
valueint
Returns
TypeDescription
ConnectionWorkerPool.Settings.Builder