Class ShardDataTreeNotificationPublisherActor<T extends org.opendaylight.controller.cluster.datastore.ShardDataTreeNotificationPublisher>
java.lang.Object
akka.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 akka.actor.AbstractActor
AbstractActor.ActorContext, AbstractActor.Receive
Nested classes/interfaces inherited from interface akka.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$
-
Field Summary
Fields inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
LOG
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ShardDataTreeNotificationPublisherActor
(T publisher, String name, String logContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleReceive
(Object message) Receive and handle an incoming message.protected String
protected T
Methods inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
createReceive, executeInSelf, ignoreMessage, isValidSender, unknownMessage
Methods inherited from class akka.actor.AbstractActor
akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, emptyBehavior, getContext, getSelf, getSender, postRestart, postStop, preRestart, preRestart, preStart, receive, receiveBuilder, self, sender, supervisorStrategy, unhandled
-
Constructor Details
-
ShardDataTreeNotificationPublisherActor
-
-
Method Details
-
publisher
-
logContext
-
handleReceive
Description copied from class:AbstractUntypedActor
Receive and handle an incoming message. If the implementation does not handle this particular message, it should callAbstractUntypedActor.ignoreMessage(Object)
orAbstractUntypedActor.unknownMessage(Object)
.- Specified by:
handleReceive
in classAbstractUntypedActor
- Parameters:
message
- the incoming message
-