Interface ActiveWatch

  • All Superinterfaces:
    AutoCloseable, Closeable

    public interface ActiveWatch
    extends Closeable

    Marker interface for an active watch, in the future might get more properties you can inspect.

    For now, make sure to close the watch when not interested in new events.

    • Method Detail

      • getPath

        Path getPath()
        Returns:
        the path watched by this watch.
      • getScope

        WatchScope getScope()
        Returns:
        the scope of this watch.