@Immutable public static class SessionOptions.WriteBufferWaterMark extends Object
| Constructor and Description |
|---|
WriteBufferWaterMark()
Creates this class object with default high and low watermark values.
|
WriteBufferWaterMark(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 WriteBufferWaterMark()
public WriteBufferWaterMark(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.