Class/Object

org.bdgenomics.utils.instrumentation

ServoTimer

Related Docs: object ServoTimer | package instrumentation

Permalink

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

Instance Constructors

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

    Permalink

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

    Permalink
  5. def addTag(tag: Tag): Unit

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

    Permalink

    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.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getConfig: MonitorConfig

    Permalink
    Definition Classes
    ConfigurableMonitor
  14. def getCount: Long

    Permalink

    Returns the number of measurements that have been made

  15. def getMax: Long

    Permalink

    Returns the maximum recorded time in nanoseconds

  16. def getMean: Long

    Permalink

    Returns the mean recorded time in nanoseconds

  17. def getMin: Long

    Permalink

    Returns the minimum recorded time in nanoseconds

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

    Permalink
    Definition Classes
    ServoTimer → CompositeMonitor
  19. def getName: String

    Permalink
    Definition Classes
    ConfigurableMonitor
  20. def getTotalTime: Long

    Permalink

    Returns the total time in nanoseconds

  21. def getValue(pollerIndex: Int): AnyRef

    Permalink
    Definition Classes
    ServoTimer → Monitor
  22. def getValue(): AnyRef

    Permalink

    Returns the result of calling getTotalTime

    Returns the result of calling getTotalTime

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

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

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

    Permalink

    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).

  26. val name: String

    Permalink
    Definition Classes
    ConfigurableMonitor
  27. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink

    Records an occurrence of the specified duration, in milliseconds

  31. def recordNanos(duration: Long): Unit

    Permalink

    Records an occurrence of the specified duration, in nanoseconds

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

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

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

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

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

    Permalink
    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