c
com.digitalasset.canton.ledger.api.benchtool.metrics.metrics
TotalRuntimeMetric
Companion object TotalRuntimeMetric
final case class TotalRuntimeMetric[T](clock: Clock, startTime: Instant, objective: MaxDurationObjective) extends Metric[T] with Product with Serializable
Measures the total runtime since the set start time to the time of receiving the most recent item.
Linear Supertypes
Ordering
- Alphabetic
 - By Inheritance
 
Inherited
- TotalRuntimeMetric
 - Serializable
 - Product
 - Equals
 - Metric
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
Visibility
- Public
 - Protected
 
Instance Constructors
-  new TotalRuntimeMetric(clock: Clock, startTime: Instant, objective: MaxDurationObjective)
 
Type Members
-    type Objective = MaxDurationObjective
- Definition Classes
 - TotalRuntimeMetric → Metric
 
 -    type V = TotalRuntimeMetric.Value
- Definition Classes
 - TotalRuntimeMetric → Metric
 
 
Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -  val clock: Clock
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
 
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def finalValue(totalDuration: Duration): TotalRuntimeMetric.Value
- Definition Classes
 - TotalRuntimeMetric → Metric
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -    def name: String
- Definition Classes
 - Metric
 
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -  val objective: MaxDurationObjective
 -    def onNext(item: T): Metric[T]
- returns
 an updated version of itself
- Definition Classes
 - TotalRuntimeMetric → Metric
 
 -    def periodicValue(periodDuration: Duration): (Metric[T], TotalRuntimeMetric.Value)
- returns
 an updated version of itself and the value observed in this period NOTE: Durations of subsequent periods are not guaranteed to be exactly the same.
- Definition Classes
 - TotalRuntimeMetric → Metric
 
 -    def productElementNames: Iterator[String]
- Definition Classes
 - Product
 
 -  val startTime: Instant
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def violatedFinalObjectives(totalDuration: Duration): List[(MaxDurationObjective, TotalRuntimeMetric.Value)]
- returns
 a list of objective violations, where each element is a pair of a violated objective and the final value that violates it.
- Definition Classes
 - TotalRuntimeMetric → Metric
 
 -    def violatedPeriodicObjectives: List[(Objective, V)]
- returns
 a list of objective violations, where each element is a pair of a violated objective and the periodic value that violates it the most.
- Definition Classes
 - Metric
 
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])