Class ShardDataTreeNotificationPublisherActor<T extends org.opendaylight.controller.cluster.datastore.ShardDataTreeNotificationPublisher>

  • All Implemented Interfaces:
    akka.actor.Actor, org.opendaylight.controller.cluster.common.actor.ExecuteInSelfActor
    Direct Known Subclasses:
    ShardDataTreeChangePublisherActor

    public class ShardDataTreeNotificationPublisherActor<T extends org.opendaylight.controller.cluster.datastore.ShardDataTreeNotificationPublisher>
    extends org.opendaylight.controller.cluster.common.actor.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

        akka.actor.AbstractActor.ActorContext, akka.actor.AbstractActor.Receive
      • Nested classes/interfaces inherited from interface akka.actor.Actor

        akka.actor.Actor.emptyBehavior$, akka.actor.Actor.ignoringBehavior$
    • Field Summary

      • Fields inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor

        LOG
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void handleReceive​(Object message)  
      protected String logContext()  
      protected T publisher()  
      • 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 Detail

      • ShardDataTreeNotificationPublisherActor

        protected ShardDataTreeNotificationPublisherActor​(T publisher,
                                                          String name,
                                                          String logContext)
    • Method Detail

      • publisher

        protected T publisher()
      • logContext

        protected String logContext()
      • handleReceive

        protected void handleReceive​(Object message)
        Specified by:
        handleReceive in class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor