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
      void close()
      closes this watcher and all its resources.
      boolean isClosed()
      Returns if watcher is already closed
      void requestProgress()
      Requests the latest revision processed and propagates it to listeners
    • Method Detail

      • close

        void close()
        closes this watcher and all its resources.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
      • isClosed

        boolean isClosed()
        Returns if watcher is already closed
      • requestProgress

        void requestProgress()
        Requests the latest revision processed and propagates it to listeners