corda / com.r3.corda.networkmanage.common.healthcheck / ClientHealthChecker

ClientHealthChecker

abstract class ClientHealthChecker

Types

ClientType

enum class ClientType

Constructors

<init>

ClientHealthChecker()

Functions

checkAllServices

fun checkAllServices(renderer: Renderer): Unit

Run the health check against all clients that can be configured for the current service.

createEnmServiceClients

abstract fun createEnmServiceClients(): Map<String, <ERROR CLASS>?>

To avoid keeping long lived connections around we can instead create the clients as and when they are needed and ensure that they are closed when the health check has been performed.

createRpcServiceClients

abstract fun createRpcServiceClients(): Map<String, <ERROR CLASS>?>

To avoid keeping long lived connections around we can instead create the clients as and when they are needed and ensure that they are closed when the health check has been performed.

Companion Object Properties

GREEN_TICK

const val GREEN_TICK: String

RED_CROSS

const val RED_CROSS: String

Inheritors

TestEnmClientHealthChecker

class TestEnmClientHealthChecker : ClientHealthChecker

Testing class to enable the use of mocked netty clients

TestRpcClientHealthChecker

class TestRpcClientHealthChecker : ClientHealthChecker

Testing class to enable the use of mocked RPC clients