public class FileLockFreePortGenerator extends Object implements FreePortGenerator
| Modifier and Type | Class and Description |
|---|---|
static class |
FileLockFreePortGenerator.FileLockPortHandle |
FreePortGenerator.PortHandle| Constructor and Description |
|---|
FileLockFreePortGenerator() |
| Modifier and Type | Method and Description |
|---|---|
FreePortGenerator.PortHandle |
nextAvailablePort(int startFromPort,
int retryCount)
Generate the next available port from the start port and for retry count.
|
public FreePortGenerator.PortHandle nextAvailablePort(int startFromPort, int retryCount)
FreePortGeneratornextAvailablePort in interface FreePortGeneratorCopyright © GigaSpaces.