Class/Object

akka.cluster.client

ClusterClientSettings

Related Docs: object ClusterClientSettings | package client

Permalink

final class ClusterClientSettings extends NoSerializationVerificationNeeded

Source
ClusterClient.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClusterClientSettings
  2. NoSerializationVerificationNeeded
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClusterClientSettings(initialContacts: Set[ActorPath], establishingGetContactsInterval: FiniteDuration, refreshContactsInterval: FiniteDuration, heartbeatInterval: FiniteDuration, acceptableHeartbeatPause: FiniteDuration, bufferSize: Int)

    Permalink

    For binary/source compatibility

  2. new ClusterClientSettings(initialContacts: Set[ActorPath], establishingGetContactsInterval: FiniteDuration, refreshContactsInterval: FiniteDuration, heartbeatInterval: FiniteDuration, acceptableHeartbeatPause: FiniteDuration, bufferSize: Int, reconnectTimeout: Option[FiniteDuration])

    Permalink

    initialContacts

    Actor paths of the ClusterReceptionist actors on the servers (cluster nodes) that the client will try to contact initially. It is mandatory to specify at least one initial contact. The path of the default receptionist is "akka.tcp://system@hostname:port/system/receptionist"

    establishingGetContactsInterval

    Interval at which the client retries to establish contact with one of ClusterReceptionist on the servers (cluster nodes)

    refreshContactsInterval

    Interval at which the client will ask the ClusterReceptionist for new contact points to be used for next reconnect.

    heartbeatInterval

    How often failure detection heartbeat messages for detection of failed connections should be sent.

    acceptableHeartbeatPause

    Number of potentially lost/delayed heartbeats that will be accepted before considering it to be an anomaly. The ClusterClient is using the akka.remote.DeadlineFailureDetector, which will trigger if there are no heartbeats within the duration heartbeatInterval + acceptableHeartbeatPause.

    bufferSize

    If connection to the receptionist is not established the client will buffer this number of messages and deliver them the connection is established. When the buffer is full old messages will be dropped when new messages are sent via the client. Use 0 to disable buffering, i.e. messages will be dropped immediately if the location of the receptionist is unavailable.

    reconnectTimeout

    If the connection to the receptionist is lost and cannot be re-established within this duration the cluster client will be stopped. This makes it possible to watch it from another actor and possibly acquire a new list of initialContacts from some external service registry

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ClusterClientSettings to any2stringadd[ClusterClientSettings] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ClusterClientSettings, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ClusterClientSettings to ArrowAssoc[ClusterClientSettings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. val acceptableHeartbeatPause: FiniteDuration

    Permalink

    Number of potentially lost/delayed heartbeats that will be accepted before considering it to be an anomaly.

    Number of potentially lost/delayed heartbeats that will be accepted before considering it to be an anomaly. The ClusterClient is using the akka.remote.DeadlineFailureDetector, which will trigger if there are no heartbeats within the duration heartbeatInterval + acceptableHeartbeatPause.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val bufferSize: Int

    Permalink

    If connection to the receptionist is not established the client will buffer this number of messages and deliver them the connection is established.

    If connection to the receptionist is not established the client will buffer this number of messages and deliver them the connection is established. When the buffer is full old messages will be dropped when new messages are sent via the client. Use 0 to disable buffering, i.e. messages will be dropped immediately if the location of the receptionist is unavailable.

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def ensuring(cond: (ClusterClientSettings) ⇒ Boolean, msg: ⇒ Any): ClusterClientSettings

    Permalink
    Implicit information
    This member is added by an implicit conversion from ClusterClientSettings to Ensuring[ClusterClientSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (ClusterClientSettings) ⇒ Boolean): ClusterClientSettings

    Permalink
    Implicit information
    This member is added by an implicit conversion from ClusterClientSettings to Ensuring[ClusterClientSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): ClusterClientSettings

    Permalink
    Implicit information
    This member is added by an implicit conversion from ClusterClientSettings to Ensuring[ClusterClientSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): ClusterClientSettings

    Permalink
    Implicit information
    This member is added by an implicit conversion from ClusterClientSettings to Ensuring[ClusterClientSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. val establishingGetContactsInterval: FiniteDuration

    Permalink

    Interval at which the client retries to establish contact with one of ClusterReceptionist on the servers (cluster nodes)

  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ClusterClientSettings to StringFormat[ClusterClientSettings] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. val heartbeatInterval: FiniteDuration

    Permalink

    How often failure detection heartbeat messages for detection of failed connections should be sent.

  22. val initialContacts: Set[ActorPath]

    Permalink

    Actor paths of the ClusterReceptionist actors on the servers (cluster nodes) that the client will try to contact initially.

    Actor paths of the ClusterReceptionist actors on the servers (cluster nodes) that the client will try to contact initially. It is mandatory to specify at least one initial contact. The path of the default receptionist is "akka.tcp://system@hostname:port/system/receptionist"

  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. val reconnectTimeout: Option[FiniteDuration]

    Permalink

    If the connection to the receptionist is lost and cannot be re-established within this duration the cluster client will be stopped.

    If the connection to the receptionist is lost and cannot be re-established within this duration the cluster client will be stopped. This makes it possible to watch it from another actor and possibly acquire a new list of initialContacts from some external service registry

  28. val refreshContactsInterval: FiniteDuration

    Permalink

    Interval at which the client will ask the ClusterReceptionist for new contact points to be used for next reconnect.

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withBufferSize(bufferSize: Int): ClusterClientSettings

    Permalink
  35. def withEstablishingGetContactsInterval(establishingGetContactsInterval: FiniteDuration): ClusterClientSettings

    Permalink
  36. def withHeartbeat(heartbeatInterval: FiniteDuration, acceptableHeartbeatPause: FiniteDuration): ClusterClientSettings

    Permalink
  37. def withInitialContacts(initialContacts: Set[ActorPath]): ClusterClientSettings

    Permalink

    Java API

  38. def withInitialContacts(initialContacts: Set[ActorPath]): ClusterClientSettings

    Permalink

    Scala API

  39. def withReconnectTimeout(reconnectTimeout: Option[FiniteDuration]): ClusterClientSettings

    Permalink
  40. def withRefreshContactsInterval(refreshContactsInterval: FiniteDuration): ClusterClientSettings

    Permalink
  41. def [B](y: B): (ClusterClientSettings, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ClusterClientSettings to ArrowAssoc[ClusterClientSettings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ClusterClientSettings to any2stringadd[ClusterClientSettings]

Inherited by implicit conversion StringFormat from ClusterClientSettings to StringFormat[ClusterClientSettings]

Inherited by implicit conversion Ensuring from ClusterClientSettings to Ensuring[ClusterClientSettings]

Inherited by implicit conversion ArrowAssoc from ClusterClientSettings to ArrowAssoc[ClusterClientSettings]

Ungrouped