commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William R. Speirs (Updated) (JIRA)" <>
Subject [jira] [Updated] (DBUTILS-78) Add asynchronous batch, query, and update calls
Date Wed, 28 Sep 2011 13:32:45 GMT


William R. Speirs updated DBUTILS-78:

    Attachment: DBUTILS-78_Future_v3.diff
> Add asynchronous batch, query, and update calls
> -----------------------------------------------
>                 Key: DBUTILS-78
>                 URL:
>             Project: Commons DbUtils
>          Issue Type: New Feature
>            Reporter: William R. Speirs
>            Assignee: Simone Tripodi
>            Priority: Minor
>             Fix For: 1.4
>         Attachments: 08_16_2011.diff,,,
DBUTILS-78_Future.patch, DBUTILS-78_Future_v2.diff, DBUTILS-78_Future_v2.patch, DBUTILS-78_Future_v3.diff,
async.diff, pom.diff
> I propose a new QueryRunner class, AsyncQueryRunner, which changes the return type of
batch, query, and update methods. Instead of returning their respective return types, the
methods would return a RunnableFuture. This would allow callers to either execute the RunnableFuture
in a thread or via an CompletionService like the ExecutorCompletionService.
> I have attached a first cut at this class.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message