org.apache.activemq.apollo.util

TimeCounter

class TimeCounter extends MetricProducer[TimeMetric]

A Timer collects time durations and produces a TimeMetric.

Linear Supertypes
MetricProducer[TimeMetric], (Boolean) ⇒ TimeMetric, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. TimeCounter
  2. MetricProducer
  3. Function1
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TimeCounter ()

Value Members

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def += (value: Long): Unit

    Adds a duration to our current Timing.

  5. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  7. def andThen [A] (g: (TimeMetric) ⇒ A): (Boolean) ⇒ A

    Definition Classes
    Function1
  8. def apply (reset: Boolean): TimeMetric

    The function which produces captures metric value and optionally clears it.

    The function which produces captures metric value and optionally clears it.

    Definition Classes
    TimeCounterMetricProducer → Function1
  9. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  10. def clear (): Unit

    Clears the metric value.

    Clears the metric value.

    Definition Classes
    TimeCounterMetricProducer
  11. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def compose [A] (g: (A) ⇒ Boolean): (A) ⇒ TimeMetric

    Definition Classes
    Function1
  13. var count : Int

  14. def eq (arg0: AnyRef): Boolean

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  18. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  19. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  20. var max : Long

  21. var min : Long

  22. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  23. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def start [T] (func: (() ⇒ Unit) ⇒ T): T

  26. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  27. def time [T] (func: ⇒ T): T

  28. def toString (): String

    Definition Classes
    Function1 → AnyRef → Any
  29. def total (unit: TimeUnit): Long

  30. var total : Long

  31. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from MetricProducer[TimeMetric]

Inherited from (Boolean) ⇒ TimeMetric

Inherited from AnyRef

Inherited from Any