Package org.terracotta.angela.common.net
Interface PortAllocator
-
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
DefaultPortAllocator
public interface PortAllocator extends Closeable
- Author:
- Mathieu Carbou
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfacePortAllocator.PortReservation
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()PortAllocator.PortReservationreserve(int portCounts)
-
-
-
Method Detail
-
reserve
PortAllocator.PortReservation reserve(int portCounts)
-
close
void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-