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.
the execution time.
the number of bytes read or written.
A new object which reflects the updated statistics at the current system time.
if any parameter value is negative.
the non-negative sequence number.
An immutable record of statistics for I/O operations.
if any parameter value is negative.