Methods
getTotalDurationMs()
Returns the total amount of time the user code spends handling data.
read()
read code is called when a row is consumed.
The TimedStream class is used for measuring the time the user spends processing data from the stream. We need to measure this time for use cases like measuring the application latencies for client side metrics.
Returns the total amount of time the user code spends handling data.
read code is called when a row is consumed.