final class SeedNodesInformation extends AnyRef
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.
- Source
- JoinDecider.scala
- Alphabetic
- By Inheritance
- SeedNodesInformation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SeedNodesInformation(currentTime: LocalDateTime, contactPointsChangedAt: LocalDateTime, contactPoints: Set[ResolvedTarget], seedNodesObservations: Set[SeedNodesObservation])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def allSeedNodes: Set[Address]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val contactPoints: Set[ResolvedTarget]
- val contactPointsChangedAt: LocalDateTime
- val currentTime: LocalDateTime
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getAllSeedNodes: Set[Address]
Java API
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getContactPoints: Set[ResolvedTarget]
Java API
- def getSeedNodesObservations: Set[SeedNodesObservation]
Java API
- def hasSeedNodes: Boolean
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val seedNodesObservations: Set[SeedNodesObservation]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()