X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fcommon%2Factor%2FMeteringBehavior.java;h=30331930d6b8f882a9fab12835c5ea20da0bc6fd;hp=a49bc30427ee4f323dcb681a7d6448f5aee95f70;hb=3bdf1493c0ce4218a1a3e26cdf7c5c4af1d2aeeb;hpb=e3bccac2ffeb3ccde7c1efcd0fffc90fe8bf8a17 diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/MeteringBehavior.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/MeteringBehavior.java index a49bc30427..30331930d6 100644 --- a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/MeteringBehavior.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/MeteringBehavior.java @@ -16,7 +16,7 @@ import scala.runtime.AbstractPartialFunction; import scala.runtime.BoxedUnit; /** - * Represents behaviour that can be exhibited by actors of type {@link akka.actor.UntypedActor} + * Represents behaviour that can be exhibited by actors of type {@link AbstractActor} * *

* This behaviour meters actor's default behaviour. It captures 2 metrics: @@ -79,7 +79,7 @@ public class MeteringBehavior extends AbstractPartialFunction * @param message the message to process */ @Override - public BoxedUnit apply(Object message) { + public BoxedUnit apply(final Object message) { final String messageType = message.getClass().getSimpleName(); final String msgProcessingTimeByMsgType = MetricRegistry.name(actorQualifiedName, MSG_PROCESSING_RATE, messageType);