A method to be called when the task is finished.
A method to be called when the task is finished. It stops the task timer and flushes data.
Updates the metrics being collected for the connector after reading each single row.
Updates the metrics being collected for the connector after reading each single row. This method is not thread-safe.
the row which has just been read
A trait that provides a method to update read metrics which are collected for connector related tasks. The appropriate instance is created by the companion object.
Instances of this trait are not thread-safe. They do not need to because a single instance should be created for each Cassandra read task. This remains valid as long as Cassandra read tasks are single-threaded.