Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-6778

Refactor ElapsedTimeStrategy

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.5.0.Alpha1
    • None
    • core-library
    • None

      ElapsedTimeStrategy::hasElapsed is confusing for variety of reasons:

      • creating ElapsedTimeStrategy is incomplete if it's not followed by calling hasElapsed
      • it doesn't do any wait, while one may can expect it does
      • the main task is actually it's side effect to set new upper time limit for the strategy

      Refactor it to avoid side affects.

            vjuranek@redhat.com Vojtech Juranek
            vjuranek@redhat.com Vojtech Juranek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: