Class ConnectionWorkerPool.Settings.Builder (3.9.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
Type Description
ConnectionWorkerPool.Settings

setMaxConnectionsPerRegion(int value)

public abstract ConnectionWorkerPool.Settings.Builder setMaxConnectionsPerRegion(int value)
Parameter
Name Description
value int
Returns
Type Description
ConnectionWorkerPool.Settings.Builder

setMinConnectionsPerRegion(int value)

public abstract ConnectionWorkerPool.Settings.Builder setMinConnectionsPerRegion(int value)
Parameter
Name Description
value int
Returns
Type Description
ConnectionWorkerPool.Settings.Builder