Logs a read operation with the given sample data and returns a new object to reflect the updated statistics.
Logs a read operation with the given sample data and returns a new object to reflect the updated statistics.
the execution time in nanoseconds.
the number of bytes read.
A new object which reflects the updated statistics.
if any parameter value is negative.
Logs a sync operation with the given sample data and returns a new object to reflect the updated statistics.
Logs a sync operation with the given sample data and returns a new object to reflect the updated statistics.
the execution time in nanoseconds.
A new object which reflects the updated statistics.
if any parameter value is negative.
Logs a write operation with the given sample data and returns a new object to reflect the updated statistics.
Logs a write operation with the given sample data and returns a new object to reflect the updated statistics.
the execution time in nanoseconds.
the number of bytes written.
A new object which reflects the updated statistics.
if any parameter is negative.
An immutable record of statistics for file system operations.
if any parameter value is negative.