Class CinnamonMetrics

  • All Implemented Interfaces:
    akka.actor.Extension

    public abstract class CinnamonMetrics
    extends CinnamonMetricsFactory
    implements akka.actor.Extension
    Akka (classic) Extension that provides a Cinnamon metrics API for custom metrics.
    • Constructor Detail

      • CinnamonMetrics

        public CinnamonMetrics()
    • Method Detail

      • createExtension

        public static CinnamonMetrics createExtension​(akka.actor.ExtendedActorSystem system)
      • apply

        public static CinnamonMetrics apply​(akka.actor.ActorContext context)
      • get

        public static CinnamonMetrics get​(akka.actor.ActorSystem system)
      • get

        public static CinnamonMetrics get​(akka.actor.ActorContext context)
      • hashCode

        public static final int hashCode()
      • equals

        public static final boolean equals​(java.lang.Object other)
      • metricsFor

        public abstract CinnamonMetrics metricsFor​(akka.actor.ActorRef actorRef)
        Get CinnamonMetrics API scoped to a particular actor.

        Parameters:
        actorRef - the actor to create actor-level custom metrics
        Returns:
        CinnamonMetrics scoped to the given actor
      • metricsForSystem

        public abstract CinnamonMetrics metricsForSystem()
        Get CinnamonMetrics API scoped to the actor system.

        Returns:
        CinnamonMetrics scoped to the actor system
      • metricsForApplication

        public abstract CinnamonMetrics metricsForApplication()
        Get CinnamonMetrics API scoped to the application.

        Returns:
        CinnamonMetrics scoped to the application
      • metricsFor

        public abstract CinnamonMetrics metricsFor​(Identity identity)
        Get CinnamonMetrics API scoped to a particular identity.

        Parameters:
        identity - the identity to create custom metrics for
        Returns:
        CinnamonMetrics scoped to the given identity