Package com.yahoo.vespa.model
Class PortAllocBridge
java.lang.Object
com.yahoo.vespa.model.PortAllocBridge
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
allocatePort
(String suffix) int
requirePort
(int port, String suffix) result()
int
-
Constructor Details
-
PortAllocBridge
-
-
Method Details
-
requirePort
-
wantPort
-
allocatePort
-
result
-