Class AggClientSupervisor
java.lang.Object
org.apache.pekko.actor.AbstractActor
com.arpnetworking.clusteraggregator.client.AggClientSupervisor
- All Implemented Interfaces:
org.apache.pekko.actor.Actor
public class AggClientSupervisor
extends org.apache.pekko.actor.AbstractActor
Supervises the connection's actors.
- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot com)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.actor.AbstractActor
org.apache.pekko.actor.AbstractActor.ActorContext, org.apache.pekko.actor.AbstractActor.Receive
Nested classes/interfaces inherited from interface org.apache.pekko.actor.Actor
org.apache.pekko.actor.Actor.emptyBehavior$, org.apache.pekko.actor.Actor.ignoringBehavior$
-
Constructor Summary
ConstructorDescriptionAggClientSupervisor
(org.apache.pekko.actor.ActorRef shardRegion, org.apache.pekko.actor.ActorRef emitter, ClusterAggregatorConfiguration configuration) Public constructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.actor.AbstractActor.Receive
org.apache.pekko.actor.SupervisorStrategy
Methods inherited from class org.apache.pekko.actor.AbstractActor
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, emptyBehavior, getContext, getSelf, getSender, org$apache$pekko$actor$Actor$_setter_$context_$eq, org$apache$pekko$actor$Actor$_setter_$self_$eq, postRestart, postStop, preRestart, preRestart, preStart, receive, receiveBuilder, self, sender, unhandled
-
Constructor Details
-
AggClientSupervisor
@Inject public AggClientSupervisor(org.apache.pekko.actor.ActorRef shardRegion, org.apache.pekko.actor.ActorRef emitter, ClusterAggregatorConfiguration configuration) Public constructor.- Parameters:
shardRegion
- The aggregator shard region actor.emitter
- The emitter actor.configuration
- The cluster aggregator configuration.
-
-
Method Details
-
createReceive
public org.apache.pekko.actor.AbstractActor.Receive createReceive()- Specified by:
createReceive
in classorg.apache.pekko.actor.AbstractActor
-
supervisorStrategy
public org.apache.pekko.actor.SupervisorStrategy supervisorStrategy()- Specified by:
supervisorStrategy
in interfaceorg.apache.pekko.actor.Actor
- Overrides:
supervisorStrategy
in classorg.apache.pekko.actor.AbstractActor
-