Packages

final case class IoStatistics extends Product with Serializable

An immutable record of statistics for I/O operations.

Exceptions thrown

IllegalArgumentException if any parameter value is negative.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IoStatistics
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bytesPerOperation: Int
  6. val bytesTotal: Long
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equalsIgnoreTime(that: IoStatistics): Boolean
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def kilobytesPerSecond: Long
  14. def log(nanosDelta: Long, bytesDelta: Long, threadsTotal: Int): IoStatistics

    Logs an I/O operation with the given sample data and returns a new object to reflect the updated statistics at the current system time.

    Logs an I/O operation with the given sample data and returns a new object to reflect the updated statistics at the current system time. If any property would overflow to a negative value as a result of the update, then the returned object will simply have its sequence number set to one (!) and its other properties will be reset to reflect only the given parameter values at the current system time. In other words, the statistics would restart from fresh.

    nanosDelta

    the execution time.

    bytesDelta

    the number of bytes read or written.

    returns

    A new object which reflects the updated statistics at the current system time.

    Annotations
    @throws(classOf[IllegalArgumentException])
    Exceptions thrown

    IllegalArgumentException if any parameter value is negative.

  15. def nanosecondsPerOperation: Long
  16. val nanosecondsTotal: Long
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. val sequenceNumber: Long
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. val threadsTotal: Int
  24. val timeMillis: Long
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped