public class FreePortFinder extends Object
| Constructor and Description |
|---|
FreePortFinder(int minPortNumber,
int maxPortNumber) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
find() |
static boolean |
isPortFree(int port)
Check and log is a given port is available
|
void |
releasePort(int port)
Indicates that the port is free from the point of view of the caller.
|
public Integer find()
public void releasePort(int port)
port - the port number to release.public static boolean isPortFree(int port)
port - the port number to checkCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.