public final class WatchOption extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WatchOption.Builder |
| Modifier and Type | Field and Description |
|---|---|
static WatchOption |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
Optional<ByteSequence> |
getEndKey() |
long |
getRevision() |
boolean |
isNoDelete()
Whether filter delete event in server side.
|
boolean |
isNoPut()
Whether filter put event in server side.
|
boolean |
isPrevKV()
Whether created watcher gets the previous KV before the event happens.
|
boolean |
isProgressNotify()
Whether watcher server send periodic progress updates.
|
static WatchOption.Builder |
newBuilder()
Create a builder to construct option for watch operation.
|
public static final WatchOption DEFAULT
public static WatchOption.Builder newBuilder()
public Optional<ByteSequence> getEndKey()
public long getRevision()
public boolean isPrevKV()
public boolean isProgressNotify()
public boolean isNoPut()
public boolean isNoDelete()
Copyright © 2020. All rights reserved.