org.bdgenomics.utils.instrumentation

ServoTimer

class ServoTimer extends ConfigurableMonitor with CompositeMonitor[AnyRef]

Timer that implements the com.netflix.servo.monitor.CompositeMonitor interface. Sub-monitors contain specific metrics, and can be identified using the following tags: - Total Time: ServoTimer.TotalTimeTag - Count: ServoTimer.CountTag - Mean: ServoTimer.MeanTag - Max: ServoTimer.MaxTag - Min: ServoTimer.MinTag All timings are returned in nanoseconds.

Linear Supertypes
CompositeMonitor[AnyRef], Monitor[AnyRef], ConfigurableMonitor, Serializable, Serializable, Taggable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ServoTimer
  2. CompositeMonitor
  3. Monitor
  4. ConfigurableMonitor
  5. Serializable
  6. Serializable
  7. Taggable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServoTimer(name: String, tags: Tag*)

    name

    the name of this timer; this is propagated to sub-monitors

    tags

    the tags for this timer; these are propagated to sub-monitors

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 addSubMonitor(monitor: Monitor[_]): Unit

  7. def addTag(tag: Tag): Unit

    Definition Classes
    ConfigurableMonitorTaggable
  8. def adjustTotalTime(duration: Long): Unit

    Adjusts the total time.

    Adjusts the total time. The mean time will be computed using the new total, and the count is left unchanged. However, the min and max values are cleared, as it is no longer possible to determine them after the total is adjusted.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

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

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

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

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

    Definition Classes
    AnyRef → Any
  15. def getConfig: MonitorConfig

    Definition Classes
    ConfigurableMonitor
  16. def getCount: Long

    Returns the number of measurements that have been made

  17. def getMax: Long

    Returns the maximum recorded time in nanoseconds

  18. def getMean: Long

    Returns the mean recorded time in nanoseconds

  19. def getMin: Long

    Returns the minimum recorded time in nanoseconds

  20. def getMonitors(): List[Monitor[_]]

    Definition Classes
    ServoTimer → CompositeMonitor
  21. def getName: String

    Definition Classes
    ConfigurableMonitor
  22. def getTotalTime: Long

    Returns the total time in nanoseconds

  23. def getValue(): AnyRef

    Returns the result of calling getTotalTime

    Returns the result of calling getTotalTime

    Definition Classes
    ServoTimer → Monitor
  24. def hashCode(): Int

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

    Definition Classes
    Any
  26. def merge(mergeWith: ServoTimer): Unit

    Merges the passed-in ServoTimer into this one.

    Merges the passed-in ServoTimer into this one. Note that the config is not merged (only the recorded statistics).

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

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

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

    Definition Classes
    AnyRef
  30. def recordMillis(duration: Long): Unit

    Records an occurrence of the specified duration, in milliseconds

  31. def recordNanos(duration: Long): Unit

    Records an occurrence of the specified duration, in nanoseconds

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

    Definition Classes
    AnyRef
  33. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CompositeMonitor[AnyRef]

Inherited from Monitor[AnyRef]

Inherited from ConfigurableMonitor

Inherited from Serializable

Inherited from Serializable

Inherited from Taggable

Inherited from AnyRef

Inherited from Any

Ungrouped