t

com.workflowfm.pew.metrics

MetricsStringOutput

trait MetricsStringOutput[KeyT] extends MetricsOutput[KeyT] with MetricsFormatting

Generates a string representation of the metrics using a generalized CSV format.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetricsStringOutput
  2. MetricsFormatting
  3. MetricsOutput
  4. Function1
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(v1: MetricsAggregator[KeyT]): Unit
    Definition Classes
    Function1

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from MetricsStringOutput[KeyT] to any2stringadd[MetricsStringOutput[KeyT]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (MetricsStringOutput[KeyT], B)
    Implicit
    This member is added by an implicit conversion from MetricsStringOutput[KeyT] to ArrowAssoc[MetricsStringOutput[KeyT]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def and(h: MetricsOutput[KeyT]): MetricsOutputs[KeyT]

    Compose with another MetricsOutput in sequence.

    Compose with another MetricsOutput in sequence.

    Definition Classes
    MetricsOutput
  7. def andThen[A](g: (Unit) ⇒ A): (MetricsAggregator[KeyT]) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def compose[A](g: (A) ⇒ MetricsAggregator[KeyT]): (A) ⇒ Unit
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  11. def ensuring(cond: (MetricsStringOutput[KeyT]) ⇒ Boolean, msg: ⇒ Any): MetricsStringOutput[KeyT]
    Implicit
    This member is added by an implicit conversion from MetricsStringOutput[KeyT] to Ensuring[MetricsStringOutput[KeyT]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (MetricsStringOutput[KeyT]) ⇒ Boolean): MetricsStringOutput[KeyT]
    Implicit
    This member is added by an implicit conversion from MetricsStringOutput[KeyT] to Ensuring[MetricsStringOutput[KeyT]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): MetricsStringOutput[KeyT]
    Implicit
    This member is added by an implicit conversion from MetricsStringOutput[KeyT] to Ensuring[MetricsStringOutput[KeyT]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): MetricsStringOutput[KeyT]
    Implicit
    This member is added by an implicit conversion from MetricsStringOutput[KeyT] to Ensuring[MetricsStringOutput[KeyT]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatDuration(from: Option[Long], to: Option[Long], format: String, nullValue: String): String
    Definition Classes
    MetricsFormatting
  19. def formatDuration(from: Option[Long], to: Long, format: String, nullValue: String): String
    Definition Classes
    MetricsFormatting
  20. def formatDuration(from: Long, to: Long, format: String): String
    Definition Classes
    MetricsFormatting
  21. def formatOption[T](v: Option[T], nullValue: String, format: (T) ⇒ String = x: T => x.toString): String
    Definition Classes
    MetricsFormatting
  22. def formatTime(format: String)(time: Long): String
    Definition Classes
    MetricsFormatting
  23. def formatTimeOption(time: Option[Long], format: String, nullValue: String): String
    Definition Classes
    MetricsFormatting
  24. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from MetricsStringOutput[KeyT] to StringFormat[MetricsStringOutput[KeyT]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. val nullValue: String

    A string representing null values.

  32. def procCSV(separator: String, timeFormat: Option[String])(m: ProcessMetrics[KeyT]): String

    String representation of a ProcessMetrics instance.

    String representation of a ProcessMetrics instance.

    separator

    a string (such as a space or comma) to separate the values

    timeFormat

    optional argument to format timestamps using java.text.SimpleDateFormat

    m

    the ProcessMetrics instance to be handled

  33. def procHeader(separator: String): String

    The field names for ProcessMetrics.

    The field names for ProcessMetrics.

    separator

    a string (such as a space or comma) to separate the names

  34. def processes(aggregator: MetricsAggregator[KeyT], separator: String, lineSep: String = "\n", timeFormat: Option[String] = None): String

    Formats all ProcessMetrics in a MetricsAggregator in a single string.

    Formats all ProcessMetrics in a MetricsAggregator in a single string.

    aggregator

    the MetricsAggregator to retrieve the metrics to be formatted

    separator

    a string (such as a space or comma) to separate values

    lineSep

    a string (such as a new line) to separate process metrics

    timeFormat

    optional argument to format timestamps using java.text.SimpleDateFormat

  35. def quote(s: String): String
    Definition Classes
    MetricsFormatting
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  41. def workflowCSV(separator: String, timeFormat: Option[String])(m: WorkflowMetrics[KeyT]): String

    String representation of a WorkflowMetrics instance.

    String representation of a WorkflowMetrics instance.

    separator

    a string (such as a space or comma) to separate the values

    timeFormat

    optional argument to format timestamps using java.text.SimpleDateFormat

    m

    the WorkflowMetrics instance to be handled

  42. def workflowHeader(separator: String): String

    The field names for WorkflowMetrics.

    The field names for WorkflowMetrics.

    separator

    a string (such as a space or comma) to separate the names

  43. def workflows(aggregator: MetricsAggregator[KeyT], separator: String, lineSep: String = "\n", timeFormat: Option[String] = None): String

    Formats all WorkflowMetrics in a MetricsAggregator in a single string.

    Formats all WorkflowMetrics in a MetricsAggregator in a single string.

    aggregator

    the MetricsAggregator to retrieve the metrics to be formatted

    separator

    a string (such as a space or comma) to separate values

    lineSep

    a string (such as a new line) to separate workflow metrics

    timeFormat

    optional argument to format timestamps using java.text.SimpleDateFormat

  44. def [B](y: B): (MetricsStringOutput[KeyT], B)
    Implicit
    This member is added by an implicit conversion from MetricsStringOutput[KeyT] to ArrowAssoc[MetricsStringOutput[KeyT]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from MetricsFormatting

Inherited from MetricsOutput[KeyT]

Inherited from (MetricsAggregator[KeyT]) ⇒ Unit

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from MetricsStringOutput[KeyT] to any2stringadd[MetricsStringOutput[KeyT]]

Inherited by implicit conversion StringFormat from MetricsStringOutput[KeyT] to StringFormat[MetricsStringOutput[KeyT]]

Inherited by implicit conversion Ensuring from MetricsStringOutput[KeyT] to Ensuring[MetricsStringOutput[KeyT]]

Inherited by implicit conversion ArrowAssoc from MetricsStringOutput[KeyT] to ArrowAssoc[MetricsStringOutput[KeyT]]

Ungrouped