public interface PortAllocator extends Closeable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PortAllocator.PortReservation |
| Modifier and Type | Method and Description |
|---|---|
default void |
close() |
PortAllocator.PortReservation |
reserve(int portCounts) |
PortAllocator.PortReservation reserve(int portCounts)
default void close()
close in interface AutoCloseableclose in interface CloseableCopyright © 2022. All rights reserved.