Package com.yahoo.vespa.model
Class PortFinder
java.lang.Object
com.yahoo.vespa.model.PortFinder
-
Constructor Summary
ConstructorDescriptionPortFinder
(Collection<com.yahoo.config.provision.NetworkPorts.Allocation> allocations) -
Method Summary
Modifier and TypeMethodDescriptionCollection<com.yahoo.config.provision.NetworkPorts.Allocation>
int
boolean
isFree
(int port) void
use
(com.yahoo.config.provision.NetworkPorts.Allocation allocation) force add the given allocation, removing any conflicting ones
-
Constructor Details
-
PortFinder
-
-
Method Details
-
use
public void use(com.yahoo.config.provision.NetworkPorts.Allocation allocation) force add the given allocation, removing any conflicting ones -
findPort
-
isFree
public boolean isFree(int port) -
allocations
-