com.twitter.ostrich.stats

DevNullStats

object DevNullStats extends StatsProvider

A StatsProvider that doesn't actually save or report anything.

Linear Supertypes
StatsProvider, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DevNullStats
  2. StatsProvider
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. def addGauge(name: String)(gauge: ⇒ Double): Unit

    Add a gauge function, which is used to sample instantaneous values.

    Add a gauge function, which is used to sample instantaneous values.

    Definition Classes
    DevNullStatsStatsProvider
  7. def addMetric(name: String, distribution: Distribution): Unit

    Adds a set of values to a named metric.

    Adds a set of values to a named metric. Effectively the incoming distribution is merged with the named metric.

    Definition Classes
    StatsProvider
  8. def addMetric(name: String, value: Int): Unit

    Adds a value to a named metric, which tracks min, max, mean, and a histogram.

    Adds a value to a named metric, which tracks min, max, mean, and a histogram.

    Definition Classes
    StatsProvider
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clearAll(): Unit

    Reset all collected stats and erase the history.

    Reset all collected stats and erase the history. Probably only useful for unit tests.

    Definition Classes
    DevNullStatsStatsProvider
  11. def clearGauge(name: String): Unit

    Remove a gauge from the provided stats.

    Remove a gauge from the provided stats.

    Definition Classes
    DevNullStatsStatsProvider
  12. def clearLabel(name: String): Unit

    Clear an existing label.

    Clear an existing label.

    Definition Classes
    DevNullStatsStatsProvider
  13. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def get(): StatsSummary

    Summarize all the counters, metrics, gauges, and labels in this collection.

    Summarize all the counters, metrics, gauges, and labels in this collection.

    Definition Classes
    StatsProvider
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def getCounter(name: String): Counter

    Get the Counter object representing a named counter.

    Get the Counter object representing a named counter.

    Definition Classes
    DevNullStatsStatsProvider
  20. def getCounters(): Map[String, Nothing]

    Summarize all the counters in this collection.

    Summarize all the counters in this collection.

    Definition Classes
    DevNullStatsStatsProvider
  21. def getGauge(name: String): None.type

    Get the current value of a named gauge.

    Get the current value of a named gauge.

    Definition Classes
    DevNullStatsStatsProvider
  22. def getGauges(): Map[String, Nothing]

    Summarize all the gauges in this collection.

    Summarize all the gauges in this collection.

    Definition Classes
    DevNullStatsStatsProvider
  23. def getLabel(name: String): None.type

    Get the current value of a named label, if it exists.

    Get the current value of a named label, if it exists.

    Definition Classes
    DevNullStatsStatsProvider
  24. def getLabels(): Map[String, Nothing]

    Summarize all the labels in this collection.

    Summarize all the labels in this collection.

    Definition Classes
    DevNullStatsStatsProvider
  25. def getMetric(name: String): Metric

    Get the Metric object representing a named metric.

    Get the Metric object representing a named metric.

    Definition Classes
    DevNullStatsStatsProvider
  26. def getMetrics(): Map[String, Nothing]

    Summarize all the metrics in this collection.

    Summarize all the metrics in this collection.

    Definition Classes
    DevNullStatsStatsProvider
  27. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  28. def incr(name: String): Long

    Increments a counter by one, returning the new value.

    Increments a counter by one, returning the new value.

    Definition Classes
    StatsProvider
  29. def incr(name: String, count: Int): Long

    Increments a counter, returning the new value.

    Increments a counter, returning the new value.

    Definition Classes
    StatsProvider
  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. val log: Logger

    Definition Classes
    StatsProvider
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  35. def setGauge(name: String, value: Double): Unit

    Set a gauge to a specific value.

    Set a gauge to a specific value. This overwrites any previous value or function.

    Definition Classes
    StatsProvider
  36. def setLabel(name: String, value: String): Unit

    Set a label to a string.

    Set a label to a string.

    Definition Classes
    DevNullStatsStatsProvider
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def time[T](name: String)(f: ⇒ T): T

    Runs the function f and logs that duration, in milliseconds, with the given name.

    Runs the function f and logs that duration, in milliseconds, with the given name.

    Definition Classes
    StatsProvider
  39. def timeFutureMicros[T](name: String)(f: Future[T]): Future[T]

    Runs the function f and logs that duration until the future is satisfied, in microseconds, with the given name.

    Runs the function f and logs that duration until the future is satisfied, in microseconds, with the given name.

    Definition Classes
    StatsProvider
  40. def timeFutureMillisLazy[T](name: String)(f: ⇒ Future[T]): Future[T]

    Lazily runs the Future that f returns and measure the duration of Future creation and time until it is satisfied, in milliseconds, with the given name

    Lazily runs the Future that f returns and measure the duration of Future creation and time until it is satisfied, in milliseconds, with the given name

    Definition Classes
    StatsProvider
  41. def timeFutureNanos[T](name: String)(f: Future[T]): Future[T]

    Runs the function f and logs that duration until the future is satisfied, in nanoseconds, with the given name.

    Runs the function f and logs that duration until the future is satisfied, in nanoseconds, with the given name.

    Definition Classes
    StatsProvider
  42. def timeMicros[T](name: String)(f: ⇒ T): T

    Runs the function f and logs that duration, in microseconds, with the given name.

    Runs the function f and logs that duration, in microseconds, with the given name.

    Definition Classes
    StatsProvider
  43. def timeNanos[T](name: String)(f: ⇒ T): T

    Runs the function f and logs that duration, in nanoseconds, with the given name.

    Runs the function f and logs that duration, in nanoseconds, with the given name.

    Definition Classes
    StatsProvider
  44. def toString(): String

    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def timeFutureMillis[T](name: String)(f: Future[T]): Future[T]

    Runs the function f and logs that duration until the future is satisfied, in milliseconds, with the given name.

    Runs the function f and logs that duration until the future is satisfied, in milliseconds, with the given name.

    Definition Classes
    StatsProvider
    Annotations
    @deprecated
    Deprecated

    Use timeFutureMillisLazy instead

Inherited from StatsProvider

Inherited from AnyRef

Inherited from Any

Ungrouped