com.tritondigital.counters

SimpleMetrics

Related Doc: package counters

class SimpleMetrics extends Metrics with MetricsProvider with Logging

Thread safe implementation of Metrics, using Codahale for computing stats.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SimpleMetrics
  2. Logging
  3. MetricsProvider
  4. Metrics
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SimpleMetrics(actorSystem: ActorSystem)

Abstract Value Members

  1. abstract def incrementCounter(name: String, tags: <repeated...>[Tag]): Unit

    Definition Classes
    Metrics
  2. abstract def incrementCounter(name: String, incrementBy: Long, tags: <repeated...>[Tag]): Unit

    Definition Classes
    Metrics
  3. abstract def markMeter(name: String, times: Long, tags: <repeated...>[Tag]): Unit

    Definition Classes
    Metrics
  4. abstract def markMeter(name: String, tags: <repeated...>[Tag]): Unit

    Definition Classes
    Metrics
  5. abstract def setGaugeValue(name: String, value: Double, tags: <repeated...>[Tag]): Unit

    Definition Classes
    Metrics
  6. abstract def updateHistogram(name: String, value: Long, tags: <repeated...>[Tag]): Unit

    Definition Classes
    Metrics
  7. abstract def updateTimer(name: String, startMillis: Long, tags: <repeated...>[Tag]): Unit

    Definition Classes
    Metrics
  8. abstract def updateTimer(name: String, duration: Long, unit: TimeUnit, tags: <repeated...>[Tag]): Unit

    Definition Classes
    Metrics

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  11. def incrementCounter(name: String, tags: Tag*): Unit

  12. def incrementCounter(name: String, incrementBy: Long, tags: Tag*): Unit

  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. val log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  15. def markMeter(name: String, times: Long, tags: Tag*): Unit

  16. def markMeter(name: String, tags: Tag*): Unit

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def provide(): Future[Iterable[Metric]]

    Called by the publisher on regular interval.

    Called by the publisher on regular interval. Hook yourself here to provide more metrics.

    Definition Classes
    SimpleMetricsMetricsProvider
  21. def setGaugeValue(name: String, value: Double, tags: Tag*): Unit

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. def updateHistogram(name: String, value: Long, tags: Tag*): Unit

  25. def updateTimer(name: String, startInMillis: Long, tags: Tag*): Unit

  26. def updateTimer(name: String, duration: Long, unit: TimeUnit, tags: Tag*): Unit

  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from MetricsProvider

Inherited from Metrics

Inherited from AnyRef

Inherited from Any

Ungrouped