Incremental

open class Incremental(startingPort: Int) : PortAllocation

Deprecated

This has been superseded by net.corda.testing.driver.SharedMemoryIncremental.INSTANCE

Replace with

SharedMemoryIncremental.INSTANCE

Constructors

Link copied to clipboard
constructor(startingPort: Int)

Properties

Link copied to clipboard

The backing AtomicInteger used to keep track of the currently allocated port

Functions

Link copied to clipboard

Get the next available port via nextPort and then return a NetworkHostAndPort

Link copied to clipboard
open override fun nextPort(): Int