org.openspaces.pu.container.jee.jetty.support
Class NoOpFreePortGenerator
java.lang.Object
org.openspaces.pu.container.jee.jetty.support.NoOpFreePortGenerator
- All Implemented Interfaces:
- FreePortGenerator
public class NoOpFreePortGenerator
- extends Object
- implements FreePortGenerator
A no op free port generator.
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoOpFreePortGenerator
public NoOpFreePortGenerator()
nextAvailablePort
public FreePortGenerator.PortHandle nextAvailablePort(int startFromPort,
int retryCount)
- Description copied from interface:
FreePortGenerator
- Generate the next available port from the start port and for retry count.
- Specified by:
nextAvailablePort
in interface FreePortGenerator
Copyright © GigaSpaces.