Class ReaderMonitor

java.lang.Object
com.rvi.application.ReaderMonitor
All Implemented Interfaces:
AutoCloseable

public final class ReaderMonitor extends Object implements AutoCloseable
  • Constructor Details

  • Method Details

    • start

      public void start()
      Starts one background monitor. May be called only once, before close(). Listener callbacks run on the monitor thread.
    • close

      public void close()
      Requests monitoring to stop and shuts down its executor; an in-flight callback may finish.
      Specified by:
      close in interface AutoCloseable