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:
akka.actor.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
-
-
Field Summary
-
Fields inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
LOG
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ShardDataTreeNotificationPublisherActor(T publisher, String name, String logContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleReceive(Object message)
Receive and handle an incoming 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
-
-
-
-
Method Detail
-
publisher
protected T publisher()
-
logContext
protected String logContext()
-
handleReceive
protected void handleReceive(Object message)
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
-
-