Class RR::NoisyCursor
In: lib/rubyrep/noisy_connection.rb
Parent: Object

Wraps an existing cursor. Purpose: send regular updates to the installed TaskSweeper

Methods

clear   new   next?   next_row  

Attributes

org_cursor  [RW]  The original cusor
sweeper  [RW]  The installed task sweeper

Public Class methods

Create a new NoisyCursor.

  • cursor: the original cursor
  • sweeper: the target TaskSweeper

Public Instance methods

Delegate the uninteresting methods to the original cursor

Returns the row as a column => value hash and moves the cursor to the next row.

[Validate]