Package io.deephaven.kv
Class WatchEvent
java.lang.Object
io.deephaven.kv.WatchEvent
An immutable response from a
WatchClient.Watch.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionWatchEvent(@NotNull KeyValue keyValue, @NotNull WatchEvent.Type type) For alternative implementations, we convert the keyValue KeyPath to a String and then to a ByteSequence for the rawKey.WatchEvent(@NotNull KeyValue keyValue, @NotNull io.deephaven.shadow.jetcd.io.etcd.jetcd.ByteSequence rawKey, @NotNull WatchEvent.Type type) When created from etcd, we provide the KeyValue and the rawKey as delivered from etcd. -
Method Summary
-
Constructor Details
-
WatchEvent
public WatchEvent(@NotNull @NotNull KeyValue keyValue, @NotNull @NotNull io.deephaven.shadow.jetcd.io.etcd.jetcd.ByteSequence rawKey, @NotNull @NotNull WatchEvent.Type type) When created from etcd, we provide the KeyValue and the rawKey as delivered from etcd.- Parameters:
keyValue- the key and valuerawKey- the raw keytype- the type of event
-
WatchEvent
For alternative implementations, we convert the keyValue KeyPath to a String and then to a ByteSequence for the rawKey.- Parameters:
keyValue- the key and valuetype- the type of event
-
-
Method Details