Class PortProber


  • public class PortProber
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int findFreePort()  
      static void waitForPortUp​(int port, int timeout, java.util.concurrent.TimeUnit unit)  
      • Methods inherited from class java.lang.Object

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

      • findFreePort

        public static int findFreePort()
      • waitForPortUp

        public static void waitForPortUp​(int port,
                                         int timeout,
                                         java.util.concurrent.TimeUnit unit)