| Package | Description |
|---|---|
| io.etcd.jetcd.options |
| Modifier and Type | Method and Description |
|---|---|
static WatchOption.Builder |
WatchOption.newBuilder()
Create a builder to construct option for watch operation.
|
WatchOption.Builder |
WatchOption.Builder.withNoDelete(boolean noDelete)
filter out delete event in server side.
|
WatchOption.Builder |
WatchOption.Builder.withNoPut(boolean noPut)
filter out put event in server side.
|
WatchOption.Builder |
WatchOption.Builder.withPrefix(ByteSequence prefix)
Enables watch all the keys with matching prefix.
|
WatchOption.Builder |
WatchOption.Builder.withPrevKV(boolean prevKV)
When prevKV is set, created watcher gets the previous KV before the event happens,
if the previous KV is not compacted.
|
WatchOption.Builder |
WatchOption.Builder.withProgressNotify(boolean progressNotify)
When progressNotify is set, the watch server send periodic progress updates.
|
WatchOption.Builder |
WatchOption.Builder.withRange(ByteSequence endKey)
Set the end key of the get request.
|
WatchOption.Builder |
WatchOption.Builder.withRevision(long revision)
Provide the revision to use for the get request.
|
Copyright © 2020. All rights reserved.