Class ConnectionWorkerPool.Settings.Builder (2.44.1)

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

setMaxConnectionsPerRegion(int value)

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

setMinConnectionsPerRegion(int value)

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