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. TimeCounter
  2. MetricProducer
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TimeCounter()

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. def +=(value: Long): Unit

    Adds a duration to our current Timing.

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

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

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

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clear(): Unit

    Clears the metric value.

    Clears the metric value.

    Definition Classes
    TimeCounterMetricProducer
  11. def clone(): AnyRef

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

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  13. var count: Int

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

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

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

    Definition Classes
    Any
  20. var max: Long

  21. var min: Long

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

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

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

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

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

    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. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from MetricProducer[TimeMetric]

Inherited from (Boolean) ⇒ TimeMetric

Inherited from AnyRef

Inherited from Any

Ungrouped