Object

com.twitter.ostrich.stats

DevNullStats

Related Doc: package stats

Permalink

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
Visibility
  1. Public
  2. All

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. def addGauge(name: String)(gauge: ⇒ Double): Unit

    Permalink

    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
  5. def addMetric(name: String, distribution: Distribution): Unit

    Permalink

    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
  6. def addMetric(name: String, value: Int): Unit

    Permalink

    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
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clearAll(): Unit

    Permalink

    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
  9. def clearGauge(name: String): Unit

    Permalink

    Remove a gauge from the provided stats.

    Remove a gauge from the provided stats.

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

    Permalink

    Clear an existing label.

    Clear an existing label.

    Definition Classes
    DevNullStatsStatsProvider
  11. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def get(): StatsSummary

    Permalink

    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
  16. final def getClass(): Class[_]

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

    Permalink

    Get the Counter object representing a named counter.

    Get the Counter object representing a named counter.

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

    Permalink

    Summarize all the counters in this collection.

    Summarize all the counters in this collection.

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

    Permalink

    Get the current value of a named gauge.

    Get the current value of a named gauge.

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

    Permalink

    Summarize all the gauges in this collection.

    Summarize all the gauges in this collection.

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

    Permalink

    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
  22. def getLabels(): Map[String, Nothing]

    Permalink

    Summarize all the labels in this collection.

    Summarize all the labels in this collection.

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

    Permalink

    Get the Metric object representing a named metric.

    Get the Metric object representing a named metric.

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

    Permalink

    Summarize all the metrics in this collection.

    Summarize all the metrics in this collection.

    Definition Classes
    DevNullStatsStatsProvider
  25. def hashCode(): Int

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

    Permalink

    Increments a counter by one, returning the new value.

    Increments a counter by one, returning the new value.

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

    Permalink

    Increments a counter, returning the new value.

    Increments a counter, returning the new value.

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

    Permalink
    Definition Classes
    Any
  29. val log: Logger

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

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

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

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

    Permalink

    Set a gauge to a specific value.

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

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

    Permalink

    Set a label to a string.

    Set a label to a string.

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

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

    Permalink

    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
  37. def timeFutureMicros[T](name: String)(f: Future[T]): Future[T]

    Permalink

    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
  38. def timeFutureMillisLazy[T](name: String)(f: ⇒ Future[T]): Future[T]

    Permalink

    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
  39. def timeFutureNanos[T](name: String)(f: Future[T]): Future[T]

    Permalink

    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
  40. def timeMicros[T](name: String)(f: ⇒ T): T

    Permalink

    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
  41. def timeNanos[T](name: String)(f: ⇒ T): T

    Permalink

    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
  42. def toString(): String

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

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

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

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

Deprecated Value Members

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

    Permalink

    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