Class ShardDataTreeNotificationPublisherActor<T extends org.opendaylight.controller.cluster.datastore.ShardDataTreeNotificationPublisher>
java.lang.Object
org.apache.pekko.actor.AbstractActor
org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
org.opendaylight.controller.cluster.datastore.ShardDataTreeNotificationPublisherActor<T>
- All Implemented Interfaces:
Actor,ExecuteInSelfActor
- Direct Known Subclasses:
ShardDataTreeChangePublisherActor
public class ShardDataTreeNotificationPublisherActor<T extends org.opendaylight.controller.cluster.datastore.ShardDataTreeNotificationPublisher>
extends AbstractUntypedActor
Actor used to generate and publish data tree notifications. This is used to offload the potentially
expensive notification generation from the Shard actor.
- Author:
- Thomas Pantelis
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.actor.AbstractActor
AbstractActor.ActorContext, AbstractActor.ReceiveNested classes/interfaces inherited from interface org.apache.pekko.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$ -
Field Summary
Fields inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
LOG -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedShardDataTreeNotificationPublisherActor(T publisher, String name, String logContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleReceive(Object message) Receive and handle an incoming message.protected Stringprotected TMethods inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
createReceive, executeInSelf, getContext, ignoreMessage, isValidSender, unknownMessageMethods inherited from class org.apache.pekko.actor.AbstractActor
context, emptyBehavior, 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, supervisorStrategyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.actor.Actor
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, sender, unhandled
-
Constructor Details
-
ShardDataTreeNotificationPublisherActor
-
-
Method Details
-
publisher
-
logContext
-
handleReceive
Description copied from class:AbstractUntypedActorReceive and handle an incoming message. If the implementation does not handle this particular message, it should callAbstractUntypedActor.ignoreMessage(Object)orAbstractUntypedActor.unknownMessage(Object).- Specified by:
handleReceivein classAbstractUntypedActor- Parameters:
message- the incoming message
-