final case class IoStatistics extends Immutable with Product with Serializable
An immutable record of statistics for I/O operations.
- Exceptions thrown
IllegalArgumentException
if any parameter value is negative.
- Alphabetic
- By Inheritance
- IoStatistics
- Serializable
- Serializable
- Product
- Equals
- Immutable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- def bytesPerOperation: Int
- val bytesTotal: Long
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equalsIgnoreTime(that: IoStatistics): Boolean
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def kilobytesPerSecond: Long
-
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.
- def nanosecondsPerOperation: Long
- val nanosecondsTotal: Long
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val sequenceNumber: Long
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val threadsTotal: Int
- val timeMillis: Long
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )