Package io.deephaven.kv.etcd
Class WatchClientEtcd
java.lang.Object
io.deephaven.kv.etcd.WatchClientEtcd
- All Implemented Interfaces:
WatchClient,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.kv.WatchClient
WatchClient.Listener, WatchClient.SingleKeyPathListener, WatchClient.StateListener<T>, WatchClient.UnitListener, WatchClient.Watch, WatchClient.WatchState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()watch(WatchKeyPrefix request, WatchClient.Listener listener) Creates a watch against a specific key prefix.watch(WatchKey request, WatchClient.Listener listener) Creates a watch against a specific key.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.kv.WatchClient
watch, watch, watch
-
Constructor Details
-
WatchClientEtcd
public WatchClientEtcd(io.deephaven.shadow.jetcd.io.etcd.jetcd.Watch watchClient)
-
-
Method Details
-
watch
Description copied from interface:WatchClientCreates a watch against a specific key.- Specified by:
watchin interfaceWatchClient- Parameters:
request- the watch key requestlistener- the listener- Returns:
- the watch
-
watch
Description copied from interface:WatchClientCreates a watch against a specific key prefix.- Specified by:
watchin interfaceWatchClient- Parameters:
request- the watch key prefix requestlistener- the listener- Returns:
- the watch
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-