-import javax.annotation.concurrent.NotThreadSafe;
-import org.opendaylight.controller.cluster.datastore.utils.Dispatchers;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
+import org.opendaylight.controller.cluster.common.actor.Dispatchers;
import org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Abstract base class for a ShardDataTreeNotificationPublisher that offloads the generation and publication
import org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Abstract base class for a ShardDataTreeNotificationPublisher that offloads the generation and publication
protected final Logger log = LoggerFactory.getLogger(getClass());
private final ActorContext actorContext;
protected final Logger log = LoggerFactory.getLogger(getClass());
private final ActorContext actorContext;
- protected AbstractShardDataTreeNotificationPublisherActorProxy(ActorContext actorContext, String actorName,
- String logContext) {
+ protected AbstractShardDataTreeNotificationPublisherActorProxy(final ActorContext actorContext,
+ final String actorName, final String logContext) {
this.actorContext = actorContext;
this.actorName = actorName;
this.logContext = logContext;
this.actorContext = actorContext;
this.actorName = actorName;
this.logContext = logContext;
if (publisherActor == null) {
String dispatcher = new Dispatchers(actorContext.system().dispatchers()).getDispatcherPath(
Dispatchers.DispatcherType.Notification);
if (publisherActor == null) {
String dispatcher = new Dispatchers(actorContext.system().dispatchers()).getDispatcherPath(
Dispatchers.DispatcherType.Notification);
- publisherActor = actorContext.actorOf(props().withDispatcher(dispatcher).withMailbox(
- org.opendaylight.controller.cluster.datastore.utils.ActorContext.BOUNDED_MAILBOX), actorName);
+ publisherActor = actorContext.actorOf(props().withDispatcher(dispatcher), actorName);
log.debug("{}: Created publisher actor {} with name {}", logContext, publisherActor, actorName);
}
log.debug("{}: Created publisher actor {} with name {}", logContext, publisherActor, actorName);
}