X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fcommon%2Factor%2FMeteringBehavior.java;h=30331930d6b8f882a9fab12835c5ea20da0bc6fd;hb=8fc8b1ed975f1fbd1929630522f2fcb8f3a832d0;hp=9ff185a61e27d61c335223d8b1150fa3738a41c6;hpb=139937c2e646894af6a9b2b8a8a1047c6ef82485;p=controller.git 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 9ff185a61e..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 @@ -7,96 +7,94 @@ */ package org.opendaylight.controller.cluster.common.actor; -import akka.actor.UntypedActor; -import akka.japi.Procedure; +import akka.actor.AbstractActor; import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.Timer; -import com.google.common.base.Preconditions; import org.opendaylight.controller.cluster.reporting.MetricsReporter; +import scala.PartialFunction; +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: *