Class

nl.grons.metrics.scala

MetricBuilder

Related Doc: package scala

Permalink

class MetricBuilder extends AnyRef

Builds and registering metrics.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetricBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MetricBuilder(baseName: MetricName, registry: MetricRegistry)

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. val baseName: MetricName

    Permalink
  6. def cachedGauge[A](name: String, timeout: FiniteDuration, scope: String = null)(f: ⇒ A): Gauge[A]

    Permalink

    Registers a new gauge metric that caches its value for a given duration.

    Registers a new gauge metric that caches its value for a given duration.

    name

    the name of the gauge

    timeout

    the timeout

    scope

    the scope of the gauge or null for no scope

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def counter(name: String, scope: String = null): Counter

    Permalink

    Creates a new counter metric.

    Creates a new counter metric.

    name

    the name of the counter

    scope

    the scope of the counter or null for no scope

  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def gauge[A](name: String, scope: String = null)(f: ⇒ A): Gauge[A]

    Permalink

    Registers a new gauge metric.

    Registers a new gauge metric.

    name

    the name of the gauge

    scope

    the scope of the gauge or null for no scope

  13. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def histogram(name: String, scope: String = null): Histogram

    Permalink

    Creates a new histogram metric.

    Creates a new histogram metric.

    name

    the name of the histogram

    scope

    the scope of the histogram or null for no scope

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def meter(name: String, scope: String = null): Meter

    Permalink

    Creates a new meter metric.

    Creates a new meter metric.

    name

    the name of the meter

    scope

    the scope of the meter or null for no scope

  18. def metricNameFor(name: String, scope: String = null): String

    Permalink
    Attributes
    protected
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. val registry: MetricRegistry

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

    Permalink
    Definition Classes
    AnyRef
  24. def timer(name: String, scope: String = null): Timer

    Permalink

    Creates a new timer metric.

    Creates a new timer metric.

    name

    the name of the timer

    scope

    the scope of the timer or null for no scope

  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def unregisterGauges(): Unit

    Permalink

    Unregisters all gauges that were created through this builder.

  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped