Uploaded image for project: 'Commons DbUtils'
  1. Commons DbUtils
  2. DBUTILS-88

Make AsyncQueryRunner be a decorator around a QueryRunner

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.5
    • None

    Description

      AsyncQueryRunner duplicates much of the code in QueryRunner. Would it be possible for AsyncQueryRunner to simply decorate a QueryRunner with async functionality, in the same way a BufferedInputStream might decorate an InputStream?

      Attachments

        1. DBUTILS-88v2.patch
          18 kB
          Moandji Ezana
        2. DBUTILS-88v1.patch
          47 kB
          Bill Speirs
        3. AsyncQueryRunner_wraps_QueryRunner.txt
          12 kB
          Moandji Ezana

        Activity

          People

            Unassigned Unassigned
            mwanji Moandji Ezana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: