Package org.apache.bookkeeper.util
Class PortManager
- java.lang.Object
-
- org.apache.bookkeeper.util.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.
-