Packages

c

org.apache.pekko.cluster.routing

ClusterRouterPool

final case class ClusterRouterPool(local: Pool, settings: ClusterRouterPoolSettings) extends Pool with ClusterRouterConfigBase with Product with Serializable

pekko.routing.RouterConfig implementation for deployment on cluster nodes. Delegates other duties to the local pekko.routing.RouterConfig, which makes it possible to mix this with the built-in routers such as pekko.routing.RoundRobinGroup or custom routers.

Annotations
@SerialVersionUID()
Source
ClusterRouterConfig.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClusterRouterPool
  2. Product
  3. Equals
  4. ClusterRouterConfigBase
  5. Pool
  6. RouterConfig
  7. Serializable
  8. Serializable
  9. AnyRef
  10. 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 ClusterRouterPool(local: Pool, settings: ClusterRouterPoolSettings)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ClusterRouterPool to any2stringadd[ClusterRouterPool] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ClusterRouterPool, B)
    Implicit
    This member is added by an implicit conversion from ClusterRouterPool to ArrowAssoc[ClusterRouterPool] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def createRouter(system: ActorSystem): Router
    Definition Classes
    ClusterRouterConfigBase → RouterConfig
  9. def ensuring(cond: (ClusterRouterPool) ⇒ Boolean, msg: ⇒ Any): ClusterRouterPool
    Implicit
    This member is added by an implicit conversion from ClusterRouterPool to Ensuring[ClusterRouterPool] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (ClusterRouterPool) ⇒ Boolean): ClusterRouterPool
    Implicit
    This member is added by an implicit conversion from ClusterRouterPool to Ensuring[ClusterRouterPool] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): ClusterRouterPool
    Implicit
    This member is added by an implicit conversion from ClusterRouterPool to Ensuring[ClusterRouterPool] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): ClusterRouterPool
    Implicit
    This member is added by an implicit conversion from ClusterRouterPool to Ensuring[ClusterRouterPool] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isManagementMessage(msg: Any): Boolean
    Definition Classes
    ClusterRouterConfigBase → RouterConfig
  17. val local: Pool
    Definition Classes
    ClusterRouterPool → ClusterRouterConfigBase
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def nrOfInstances(sys: ActorSystem): Int

    Initial number of routee instances

    Initial number of routee instances

    Definition Classes
    ClusterRouterPool → Pool
  22. def props(routeeProps: Props): Props
    Definition Classes
    Pool
  23. def resizer: Option[Resizer]
    Definition Classes
    ClusterRouterPool → Pool
  24. def routerDispatcher: String
    Definition Classes
    ClusterRouterConfigBase → RouterConfig
  25. def routingLogicController(routingLogic: RoutingLogic): Option[Props]
    Definition Classes
    ClusterRouterConfigBase → RouterConfig
  26. val settings: ClusterRouterPoolSettings
    Definition Classes
    ClusterRouterPool → ClusterRouterConfigBase
  27. def stopRouterWhenAllRouteesRemoved: Boolean
    Definition Classes
    ClusterRouterConfigBase → RouterConfig
  28. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    ClusterRouterPool → Pool
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def usePoolDispatcher: Boolean
    Definition Classes
    Pool
  31. def verifyConfig(path: ActorPath): Unit
    Definition Classes
    RouterConfig
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withFallback(other: RouterConfig): RouterConfig
    Definition Classes
    ClusterRouterPool → RouterConfig
  36. def [B](y: B): (ClusterRouterPool, B)
    Implicit
    This member is added by an implicit conversion from ClusterRouterPool to ArrowAssoc[ClusterRouterPool] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ClusterRouterPool to StringFormat[ClusterRouterPool] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

Inherited from Product

Inherited from Equals

Inherited from ClusterRouterConfigBase

Inherited from Pool

Inherited from RouterConfig

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped