of

fun of(value: String): ClusterNode

Creates a ClusterNode instance by parsing a string representation into alias and address parts.

The input string must follow the format "alias::address". If the string does not match this format, an error is thrown. The alias represents the human-readable label for the node, and the address represents its network location.

Return

A ClusterNode instance created from the parsed alias and address.

Parameters

value

The string representation of the cluster node, formatted as "alias::address".