| Package | Description |
|---|---|
| org.terracotta.utilities.test.net |
| Modifier and Type | Method and Description |
|---|---|
PortManager.PortRef |
PortManager.reservePort()
Reserve a single, randomly selected port.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<PortManager.PortRef> |
PortManager.getPortRef(int port)
Gets the active
PortManager.PortRef instance for the designated port. |
java.util.Optional<PortManager.PortRef> |
PortManager.reserve(int port)
Attempts to reserve the specified port.
|
java.util.List<PortManager.PortRef> |
PortManager.reservePorts(int portCount)
Reserves the specified number of ports returning a list of
PortManager.PortRef
instances for those reserved. |
Copyright © 2022. All rights reserved.