PortCheck

izumi.fundamentals.platform.integration.PortCheck
See thePortCheck companion object
class PortCheck(timeout: FiniteDuration)

This class is intended to be always present in the DI object graph and injected into each resource which needs a port availability check.

The timeout is intended to be defined just once per app.

Value parameters

timeout

port check timeout

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def check(port: HostPortPair, clue: Option[String]): ResourceCheck
def checkAddress(address: => InetSocketAddress, clue: Option[String]): ResourceCheck
def checkAddressPort(address: InetAddress, port: Int, clue: String): ResourceCheck
def checkAddressPort(address: InetAddress, port: Int, clue: Option[String]): ResourceCheck
def checkPort(host: String, port: Int, clue: String): ResourceCheck
def checkPort(host: String, port: Int, clue: Option[String]): ResourceCheck
def checkUri(uri: URI, defaultPort: Int, clue: String): ResourceCheck
def checkUri(uri: URI, defaultPort: Int, clue: Option[String]): ResourceCheck
def checkUrl(url: URL, clue: String, defaultPort: Int): ResourceCheck
def checkUrl(url: URL, clue: String): ResourceCheck
def checkUrl(url: URL, clue: Option[String], defaultPort: Option[Int]): ResourceCheck