public class DefaultPortAllocator extends Object implements PortAllocator
PortAllocator.PortReservation| Constructor and Description |
|---|
DefaultPortAllocator() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
PortAllocator.PortReservation |
reserve(int portCounts) |
public PortAllocator.PortReservation reserve(int portCounts)
reserve in interface PortAllocatorpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface PortAllocatorCopyright © 2021. All rights reserved.