@Immutable public static class SessionOptions.InboundEventBufferWaterMark extends Object
Constructor and Description |
---|
InboundEventBufferWaterMark()
Creates this class object with default high and low watermark values.
|
InboundEventBufferWaterMark(int lowWaterMark,
int highWaterMark)
Creates this class object with specified high and low watermark values.
|
Modifier and Type | Method and Description |
---|---|
int |
highWaterMark()
Returns HWM value.
|
int |
lowWaterMark()
Returns LWM value.
|
public InboundEventBufferWaterMark()
public InboundEventBufferWaterMark(int lowWaterMark, int highWaterMark)
lowWaterMark
- zero or positive integer value for low watermarkhighWaterMark
- positive integer value for high watermarkIllegalArgumentException
- in case of either LWM is negative or HWM isn't greater
than zeroCopyright © 2023 Bloomberg L.P.. All rights reserved.