trait
AdaptiveLoadBalancingRouterLike extends AnyRef
Abstract Value Members
-
-
abstract
def
nrOfInstances: Int
-
abstract
def
routees: Iterable[String]
-
abstract
def
routerDispatcher: String
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
Shadowed Implicit Value Members
-
val
self: Any
-
val
self: Any
Inherited from AnyRef
Inherited from Any
INTERNAL API.
This strategy is a metrics-aware router which performs load balancing of messages to cluster nodes based on cluster metric data. It consumes akka.cluster.ClusterEvent.ClusterMetricsChanged events and the akka.cluster.routing.MetricsSelector creates an mix of weighted routees based on the node metrics. Messages are routed randomly to the weighted routees, i.e. nodes with lower load are more likely to be used than nodes with higher load