ClusterNode

data class ClusterNode(val alias: String, val address: String)

Represents a node in a cluster with an alias and its associated address.

This class is commonly leveraged to identify and interact with specific nodes in a cluster, particularly in distributed systems. Each node is uniquely identified using a combination of its alias and address.

Constructors

Link copied to clipboard
constructor(alias: String, address: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The network address of the node, typically in the form of a URL or socket address.

Link copied to clipboard

The human-readable label for the node, used for identification within the cluster.

Link copied to clipboard
Link copied to clipboard
val port: Int

Functions

Link copied to clipboard
open override fun toString(): String

Returns the string representation of the ClusterNode.