public final class AvailablePortFinder extends Object
Modifier and Type | Method and Description |
---|---|
static int |
getNextAvailable()
Gets the next available port.
|
public static int getNextAvailable()
IllegalStateException
- if there are no ports availableApache Camel