GigaSpaces XAP 7.0 API

org.openspaces.pu.container.jee.jetty.support
Class NoOpFreePortGenerator

java.lang.Object
  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openspaces.pu.container.jee.jetty.support.FreePortGenerator
FreePortGenerator.PortHandle
 
Constructor Summary
NoOpFreePortGenerator()
           
 
Method Summary
 FreePortGenerator.PortHandle nextAvailablePort(int startFromPort, int retryCount)
          Generate the next available port from the start port and for retry count.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpFreePortGenerator

public NoOpFreePortGenerator()
Method Detail

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

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.