public class ForceReconnectOptions
extends java.lang.Object
Builder.| Modifier and Type | Class and Description |
|---|---|
static class |
ForceReconnectOptions.Builder
ForceReconnectOptions are created using a Builder.
|
| Modifier and Type | Field and Description |
|---|---|
static ForceReconnectOptions |
DEFAULT_INSTANCE
A default instance of ForceReconnectOptions
|
static ForceReconnectOptions |
FORCE_CLOSE_INSTANCE
An instance representing the force close option
|
| Modifier and Type | Method and Description |
|---|---|
static ForceReconnectOptions.Builder |
builder()
Creates a builder for the options.
|
java.time.Duration |
getFlushWait()
Get the flush wait setting
|
boolean |
isFlush()
True if these options represent to flush
|
boolean |
isForceClose()
True if these options represent force close
|
public static final ForceReconnectOptions DEFAULT_INSTANCE
public static final ForceReconnectOptions FORCE_CLOSE_INSTANCE
public boolean isForceClose()
public boolean isFlush()
public java.time.Duration getFlushWait()
public static ForceReconnectOptions.Builder builder()