Class Sniffer

    • Method Summary

      Modifier and Type Method Description
      static SnifferBuilder builder​(RestClient restClient)
      Returns a new SnifferBuilder to help with Sniffer creation.
      void close()  
      void sniffOnFailure()
      Schedule sniffing to run as soon as possible if it isn't already running.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • sniffOnFailure

        public void sniffOnFailure()
        Schedule sniffing to run as soon as possible if it isn't already running. Once such sniffing round runs it will also schedule a new round after sniffAfterFailureDelay ms.
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable