public class AdaptiveLoadBalancingMetricsListener extends java.lang.Object implements Actor
ClusterMetricsEvent
s and update routing logic depending on the events.Actor.emptyBehavior$, Actor.ignoringBehavior$
Constructor and Description |
---|
AdaptiveLoadBalancingMetricsListener(AdaptiveLoadBalancingRoutingLogic routingLogic) |
Modifier and Type | Method and Description |
---|---|
ClusterMetricsExtension |
extension() |
void |
postStop()
User overridable callback.
|
void |
preStart()
User overridable callback.
|
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
receive()
This defines the initial actor behavior, it must return a partial function
with the actor logic.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, postRestart, preRestart, self, sender, supervisorStrategy, unhandled
public AdaptiveLoadBalancingMetricsListener(AdaptiveLoadBalancingRoutingLogic routingLogic)
public ClusterMetricsExtension extension()
public void preStart()
Actor
public void postStop()
Actor