X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FShardDataTreeNotificationPublisherActor.java;h=76c52c9bb55e4342d0056b81dd2e0748cd64aa6f;hp=81023562801926fb0aa05c394afb9014c4be5240;hb=de64c6bbf2d5aeb51f4036f9dd606a9bf6f71afb;hpb=38402d3e9b8976a40d7926efe47a06243210562f diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeNotificationPublisherActor.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeNotificationPublisherActor.java index 8102356280..76c52c9bb5 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeNotificationPublisherActor.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeNotificationPublisherActor.java @@ -29,7 +29,7 @@ public class ShardDataTreeNotificationPublisherActor extends AbstractUntypedActo @Override protected void handleReceive(Object message) { - if(message instanceof PublishNotifications) { + if (message instanceof PublishNotifications) { PublishNotifications publisher = (PublishNotifications)message; timer.start(); @@ -38,7 +38,7 @@ public class ShardDataTreeNotificationPublisherActor extends AbstractUntypedActo } finally { long elapsedTime = timer.elapsed(TimeUnit.MILLISECONDS); - if(elapsedTime >= ShardDataTreeNotificationPublisher.PUBLISH_DELAY_THRESHOLD_IN_MS) { + if (elapsedTime >= ShardDataTreeNotificationPublisher.PUBLISH_DELAY_THRESHOLD_IN_MS) { LOG.warn("{}: Generation of change events for {} took longer than expected. Elapsed time: {}", publisher.logContext, name, timer); } else {