Package io.hstream
Class FlowControlSetting.Builder
- java.lang.Object
-
- io.hstream.FlowControlSetting.Builder
-
- Enclosing class:
- FlowControlSetting
public static class FlowControlSetting.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowControlSettingbuild()FlowControlSetting.BuilderbytesLimit(int bytesLimit)Optional, the default value is 100MB, total bytes limit, including buffered batch records and sending records, the value should be greater than keys size * batchSetting.bytesLimit
-
-
-
Method Detail
-
bytesLimit
public FlowControlSetting.Builder bytesLimit(int bytesLimit)
Optional, the default value is 100MB, total bytes limit, including buffered batch records and sending records, the value should be greater than keys size * batchSetting.bytesLimit- Parameters:
bytesLimit- total bytes limit- Returns:
- the FlowControlSetting Builder instance
-
build
public FlowControlSetting build()
-
-