Package org.apache.bookkeeper.util
Class PortManager
java.lang.Object
org.apache.bookkeeper.util.PortManager
Port manager provides free ports to allows multiple instances
of the bookkeeper tests to run at once.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PortManager
public PortManager()
-
-
Method Details
-
nextFreePort
public static int nextFreePort()Return an available port.- Returns:
- available port.
-