Class ChannelPoolSettings.Builder (2.47.0)

public abstract static class ChannelPoolSettings.Builder

Inheritance

java.lang.Object > ChannelPoolSettings.Builder

Constructors

Builder()

public Builder()

Methods

build()

public ChannelPoolSettings build()
Returns
Type Description
ChannelPoolSettings

setInitialChannelCount(int count)

public abstract ChannelPoolSettings.Builder setInitialChannelCount(int count)
Parameter
Name Description
count int
Returns
Type Description
ChannelPoolSettings.Builder

setMaxChannelCount(int count)

public abstract ChannelPoolSettings.Builder setMaxChannelCount(int count)
Parameter
Name Description
count int
Returns
Type Description
ChannelPoolSettings.Builder

setMaxRpcsPerChannel(int count)

public abstract ChannelPoolSettings.Builder setMaxRpcsPerChannel(int count)
Parameter
Name Description
count int
Returns
Type Description
ChannelPoolSettings.Builder

setMinChannelCount(int count)

public abstract ChannelPoolSettings.Builder setMinChannelCount(int count)
Parameter
Name Description
count int
Returns
Type Description
ChannelPoolSettings.Builder

setMinRpcsPerChannel(int count)

public abstract ChannelPoolSettings.Builder setMinRpcsPerChannel(int count)
Parameter
Name Description
count int
Returns
Type Description
ChannelPoolSettings.Builder

setPreemptiveRefreshEnabled(boolean enabled)

public abstract ChannelPoolSettings.Builder setPreemptiveRefreshEnabled(boolean enabled)
Parameter
Name Description
enabled boolean
Returns
Type Description
ChannelPoolSettings.Builder