public abstract static class BatchingSettings.Builder extends Object
BatchingSettings for a description of the different
values that can be set.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BatchingSettings |
build()
Build the BatchingSettings object.
|
abstract BatchingSettings.Builder |
setDelayThreshold(org.threeten.bp.Duration delayThreshold)
Set the delay threshold to use for batching.
|
abstract BatchingSettings.Builder |
setElementCountThreshold(Long elementCountThreshold)
Set the element count threshold to use for batching.
|
abstract BatchingSettings.Builder |
setFlowControlSettings(FlowControlSettings flowControlSettings)
Set the flow control settings to be used.
|
abstract BatchingSettings.Builder |
setIsEnabled(Boolean enabled)
Set if the batch should be enabled.
|
abstract BatchingSettings.Builder |
setRequestByteThreshold(Long requestByteThreshold)
Set the request byte threshold to use for batching.
|
public abstract BatchingSettings.Builder setElementCountThreshold(Long elementCountThreshold)
public abstract BatchingSettings.Builder setRequestByteThreshold(Long requestByteThreshold)
public abstract BatchingSettings.Builder setDelayThreshold(org.threeten.bp.Duration delayThreshold)
public abstract BatchingSettings.Builder setIsEnabled(Boolean enabled)
public abstract BatchingSettings.Builder setFlowControlSettings(FlowControlSettings flowControlSettings)
public BatchingSettings build()