Class PortManager


  • public class PortManager
    extends java.lang.Object
    Port manager provides free ports to allows multiple instances of the bookkeeper tests to run at once.
    • Constructor Summary

      Constructors 
      Constructor Description
      PortManager()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int nextFreePort()
      Return an available port.
      • Methods inherited from class java.lang.Object

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

      • PortManager

        public PortManager()
    • Method Detail

      • nextFreePort

        public static int nextFreePort()
        Return an available port.
        Returns:
        available port.