public interface PortAllocator extends Closeable
| Modifier and Type | Method and Description |
|---|---|
default void |
close() |
default PortAllocation |
getNewRandomFreePort() |
PortAllocation |
getNewRandomFreePorts(int count) |
default PortAllocation getNewRandomFreePort()
PortAllocation getNewRandomFreePorts(int count)
default void close()
close in interface AutoCloseableclose in interface CloseableCopyright © 2020. All rights reserved.