Interface WatchHandle
- All Superinterfaces:
AutoCloseable
Handle of a running watch.
-
Method Summary
-
Method Details
-
stop
void stop()Stops polling. Idempotent. -
isStopped
boolean isStopped()Returns whetherstop()was called.- Returns:
- true once stopped
-
close
default void close()Same asstop().- Specified by:
closein interfaceAutoCloseable
-