Member

class Member @InternalWowApi constructor(val service: String, val node: String, val address: String, val expiresAt: Long, val groups: Set<String> = emptySet(), val wowVersion: String? = null)

node is a live member of service until expiresAt (epoch milliseconds, exclusive), serving the lease groups: a node records its membership once per service, not once per lease group, and the groups it takes part in are a field of that one record. address is the node's internal address (host:port of its internal port, never the public one): where the cluster channel reaches it, so commands can be routed to the owners of partitions.

service keys the record: a service's node membership, or a narrower set keyed the same way, such as the nodes of one state revision, whose records list no groups.

wowVersion is the version of Wow the node runs, as its store records it (WowVersion.CURRENT), null when the store records none or the node runs from classes no release built: what a newer node reads to know which nodes it shares the cluster with, readers first, writers after.

Fields may be added: construct one with of; the constructor is internal to Wow.

Constructors

Link copied to clipboard
constructor(service: String, node: String, address: String, expiresAt: Long, groups: Set<String> = emptySet(), wowVersion: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String