Class Telemetry

java.lang.Object
akka.actor.AbstractActor
com.arpnetworking.metrics.proxy.actors.Telemetry
All Implemented Interfaces:
akka.actor.Actor

public class Telemetry extends akka.actor.AbstractActor
Actor responsible for holding the set of connected websockets and publishing metrics to them.
Author:
Brandon Arp (brandon dot arp at inscopemetrics dot io), Mohammed Kamel (mkamel at groupon dot com)
  • Nested Class Summary

    Nested classes/interfaces inherited from class akka.actor.AbstractActor

    akka.actor.AbstractActor.ActorContext, akka.actor.AbstractActor.Receive

    Nested classes/interfaces inherited from interface akka.actor.Actor

    akka.actor.Actor.emptyBehavior$, akka.actor.Actor.ignoringBehavior$
  • Constructor Summary

    Constructors
    Constructor
    Description
    Telemetry(com.arpnetworking.metrics.MetricsFactory metricsFactory)
    Public constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    akka.actor.AbstractActor.Receive
     
    void
     
    Generate a Steno log compatible representation.
     

    Methods inherited from class akka.actor.AbstractActor

    akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, emptyBehavior, getContext, getSelf, getSender, postRestart, preRestart, preRestart, preStart, receive, receiveBuilder, self, sender, supervisorStrategy, unhandled

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Telemetry

      @Inject public Telemetry(com.arpnetworking.metrics.MetricsFactory metricsFactory)
      Public constructor.
      Parameters:
      metricsFactory - Instance of MetricsFactory.
  • Method Details

    • createReceive

      public akka.actor.AbstractActor.Receive createReceive()
      Specified by:
      createReceive in class akka.actor.AbstractActor
    • postStop

      public void postStop() throws Exception
      Specified by:
      postStop in interface akka.actor.Actor
      Overrides:
      postStop in class akka.actor.AbstractActor
      Throws:
      Exception
    • toLogValue

      public Object toLogValue()
      Generate a Steno log compatible representation.
      Returns:
      Steno log compatible representation.
    • toString

      public String toString()
      Overrides:
      toString in class Object