public class DefaultPortAllocator extends Object implements PortAllocator
| Constructor and Description |
|---|
DefaultPortAllocator() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
PortAllocation |
getNewRandomFreePorts(int count) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNewRandomFreePortpublic PortAllocation getNewRandomFreePorts(int count)
getNewRandomFreePorts in interface PortAllocatorpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface PortAllocatorCopyright © 2020. All rights reserved.