net.java.truevfs.ext.insight.stats

IoStatistics

final case class IoStatistics(sequenceNumber: Long, nanosecondsTotal: Long, bytesTotal: Long, threadsTotal: Int, timeMillis: Long) extends Immutable with Product with Serializable

An immutable record of statistics for I/O operations.

sequenceNumber

the non-negative sequence number.

Exceptions thrown
IllegalArgumentException

if any parameter value is negative.

Linear Supertypes
Serializable, Serializable, Product, Equals, Immutable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. IoStatistics
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Immutable
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

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 bytesPerOperation: Int

  8. val bytesTotal: Long

  9. def canEqual(arg0: Any): Boolean

    Definition Classes
    IoStatistics → Equals
  10. def clone(): AnyRef

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

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

    Definition Classes
    IoStatistics → Equals → AnyRef → Any
  13. def equalsIgnoreTime(that: IoStatistics): Boolean

  14. def finalize(): Unit

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

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

    Definition Classes
    IoStatistics → AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def kilobytesPerSecond: Long

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

  20. def nanosecondsPerOperation: Long

  21. val nanosecondsTotal: Long

  22. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  25. def productArity: Int

    Definition Classes
    IoStatistics → Product
  26. def productElement(arg0: Int): Any

    Definition Classes
    IoStatistics → Product
  27. def productIterator: Iterator[Any]

    Definition Classes
    Product
  28. def productPrefix: String

    Definition Classes
    IoStatistics → Product
  29. val sequenceNumber: Long

    the non-negative sequence number.

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

    Definition Classes
    AnyRef
  31. val threadsTotal: Int

  32. val timeMillis: Long

  33. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Immutable

Inherited from AnyRef

Inherited from Any