SeedNodesInformation

akka.management.cluster.bootstrap.SeedNodesInformation
final class SeedNodesInformation(val currentTime: LocalDateTime, val contactPointsChangedAt: LocalDateTime, val contactPoints: Set[ResolvedTarget], val seedNodesObservations: Set[SeedNodesObservation])

Full information about discovered contact points and found seed nodes.

contactPoints contains all nodes that were returned from the discovery (e.g. DNS lookup).

seedNodesObservations contains the replies from those contact points when probing them with the HTTP call. It only contains entries for the contact points that actually replied, i.e. were reachable and running. Each such SeedNodesObservation entry has the seedNodes (Akka Cluster addresses) that were returned from that contact point. That Set will be empty if the node replied but is not part of an existing cluster yet, i.e. it hasn't joined.

There are also some timestamps that can be interesting. Note that currentTime is passed in to facilitate calculation of durations.

contactPointsChangedAt is when the discovered contact points were last changed (e.g. via DNS lookup), e.g. 5 seconds ago means that subsequent lookup attempts (1 per second) after that were successful and returned the same set.

SeedNodesObservation.observedAt was when that reply was received from that contact point. The entry is removed if no reply was received within the probing-failure-timeout meaning that it is unreachable or not running.

Attributes

Source
JoinDecider.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Attributes

Source
JoinDecider.scala

Java API

Java API

Attributes

Source
JoinDecider.scala

Java API

Java API

Attributes

Source
JoinDecider.scala

Java API

Java API

Attributes

Source
JoinDecider.scala

Attributes

Source
JoinDecider.scala

Concrete fields

val contactPointsChangedAt: LocalDateTime

Attributes

Source
JoinDecider.scala
val currentTime: LocalDateTime

Attributes

Source
JoinDecider.scala