org.bitbucket.inkytonik.dsprofile

Values

trait Values extends AnyRef

The interface and default implementation for a profiler's access to profiled values. Clients can provide implementations of these operations to override or customise the treatment of values for specific purposes. E.g., derived dimensions can be added by overriding dimValue and defaulting to the version here.

Source
Values.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Values
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class Record(stime: Long, dimensions: Dimensions)(dirDescs: List[Record], allDescs: List[Record]) extends Product with Serializable

    A record of execution of some particular type of action during profiling.

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def checkFor(record: Record, dim: Dimension, eventtype: String, needed: Dimension)(f: (Value) ⇒ Value): Value

    Check for an intrinsic dimension needed on record, while looking for a value of the derived dimension dim.

    Check for an intrinsic dimension needed on record, while looking for a value of the derived dimension dim. If needed is found, get its value and pass it to f, using the f's return value as the value of the dim dimension. Otherwise, use error to report the missing dimension. If eventtype is empty, accept any event.

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def dimValue(record: Record, dim: Dimension): Value

    Given a record, an event type and a dimension name, return the value of the record at that dimension.

    Given a record, an event type and a dimension name, return the value of the record at that dimension. By default, the name is just looked up in the record's intrinsic dimensions. If the dimension is not known, an error message string is returned as the value. Override this method to add derived dimensions or to change the interpretation of intrinsic ones.

  10. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def finishReport(): Unit

    Called when the report writing is about to finish.

    Called when the report writing is about to finish. By default this method does nothing.

  14. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  16. def isEventType(record: Record, eventtype: String): Boolean

    Check the event type of a record by looking for its event intrinsic dimension and comparing to the given event string.

    Check the event type of a record by looking for its event intrinsic dimension and comparing to the given event string. Return true if it is of the given event type, false otherwise.

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. def output(str: String): Unit

    Send string to the profile output.

  22. def outputln(str: String = ""): Unit

    Send string and a newline to the profile output.

    Send string and a newline to the profile output. Default: print an empty line.

  23. var printTables: Boolean

    Whether or not to print the profile tables.

    Whether or not to print the profile tables. Some special profile dimensions produce their own output rather than using the default table style. They can turn this flag off in the startReport method to inhibit the default output.

  24. def startReport(dimensionNames: Seq[Dimension]): Unit

    Called when the report writing is about to start.

    Called when the report writing is about to start. By default this method does nothing. The method is passed the dimension names that have been requested so that can react to them.

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

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. def valueToString(a: Value): String

    Convert an arbitrary value to a string using toString.

    Convert an arbitrary value to a string using toString. Override this method to customise how values are shown.

  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped