Package io.etcd.jetcd
Interface Watch.Watcher
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable
- Enclosing interface:
- Watch
public static interface Watch.Watcher extends java.io.Closeable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()closes this watcher and all its resources.booleanisClosed()Returns if watcher is already closedvoidrequestProgress()Requests the latest revision processed and propagates it to listeners
-
-
-
Method Detail
-
close
void close()
closes this watcher and all its resources.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
isClosed
boolean isClosed()
Returns if watcher is already closed
-
requestProgress
void requestProgress()
Requests the latest revision processed and propagates it to listeners
-
-