Package net.corda.testing.driver
Class PortAllocation.Incremental
-
- All Implemented Interfaces:
@Deprecated(message = "This has been superseded by net.corda.testing.driver.SharedMemoryIncremental.INSTANCE", replaceWith = @ReplaceWith(imports = {}, expression = "SharedMemoryIncremental.INSTANCE")) public class PortAllocation.Incremental extends PortAllocation
-
-
Field Summary
Fields Modifier and Type Field Description private final AtomicInteger
portCounter
-
Constructor Summary
Constructors Constructor Description PortAllocation.Incremental(Integer startingPort)
-
Method Summary
Modifier and Type Method Description final AtomicInteger
getPortCounter()
The backing AtomicInteger used to keep track of the currently allocated port Integer
nextPort()
-
-
Constructor Detail
-
PortAllocation.Incremental
PortAllocation.Incremental(Integer startingPort)
-
-
Method Detail
-
getPortCounter
final AtomicInteger getPortCounter()
The backing AtomicInteger used to keep track of the currently allocated port
-
-
-
-