We should not be referencing UntypedActor, but rather AbstractActor.
Change-Id: I6f17d818e2c03c9c4a9e0df26317212f28425734
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
import scala.runtime.BoxedUnit;
/**
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}
*
* <p>
* This behaviour meters actor's default behaviour. It captures 2 metrics:
*
* <p>
* This behaviour meters actor's default behaviour. It captures 2 metrics:
* @param message the message to process
*/
@Override
* @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);
final String messageType = message.getClass().getSimpleName();
final String msgProcessingTimeByMsgType =
MetricRegistry.name(actorQualifiedName, MSG_PROCESSING_RATE, messageType);