Class PooledPort
java.lang.Object
org.jvnet.hudson.plugins.port_allocator.Port
org.jvnet.hudson.plugins.port_allocator.PooledPort
Represents a port, that has been allocated from a pool.
Holds a PortAllocationManager to trigger cleanup.
- Author:
- pepov
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPooledPort(PooledPortType portType, int selectedPort, PortAllocationManager manager) -
Method Summary
-
Constructor Details
-
PooledPort
-
-
Method Details
-
get
public int get()Description copied from class:PortGets the TCP port number. -
cleanUp
Description copied from class:PortFrees the port.- Specified by:
cleanUpin classPort- Throws:
IOExceptionInterruptedException
-