Class PortAllocBridge

java.lang.Object
com.yahoo.vespa.model.PortAllocBridge

public class PortAllocBridge extends Object
API for allocating network ports This class acts as a bridge between NetworkPortRequestor and HostPorts for a single call to allocatePorts(), gathering the resulting port allocations in a list of integers.
Author:
arnej
  • Constructor Details

  • Method Details

    • requirePort

      public int requirePort(int port, String suffix)
    • wantPort

      public int wantPort(int port, String suffix)
    • allocatePort

      public int allocatePort(String suffix)
    • result

      public List<Integer> result()