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
Constructors Modifier Constructor Description protectedShardDataTreeNotificationPublisherActor(T publisher, String name, String logContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidhandleReceive(Object message)Receive and handle an incoming message.protected StringlogContext()protected Tpublisher()-
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
-
-
-
-
Method Detail
-
publisher
protected T publisher()
-
logContext
protected String logContext()
-
handleReceive
protected void handleReceive(Object message)
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
-
-