public interface Watch extends CloseableClient
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Watch.Watcher
Interface of Watcher.
|
| Modifier and Type | Method and Description |
|---|---|
Watch.Watcher |
watch(ByteSequence key)
watch on a key.
|
Watch.Watcher |
watch(ByteSequence key,
WatchOption watchOption)
watch on a key with option.
|
closeWatch.Watcher watch(ByteSequence key, WatchOption watchOption)
key - key to be watched on.watchOption - see WatchOption.ClosedClientException - if watch client has been closed.Watch.Watcher watch(ByteSequence key)
key - key to be watched on.ClosedClientException - if watch client has been closed.Copyright © 2017. All rights reserved.