batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (BATCHEE-27) implementBufferedItemReeader
Date Fri, 18 Apr 2014 11:33:15 GMT

    [ https://issues.apache.org/jira/browse/BATCHEE-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13973989#comment-13973989
] 

Romain Manni-Bucau edited comment on BATCHEE-27 at 4/18/14 11:31 AM:
---------------------------------------------------------------------

Ok, take my comment as "please provide both" (one will delegate to the other).

Util class will be very useful to not force some config through inheritance.

In my current job we have a lot of this kind of component and composition always leads to
better model where inheritance leads to issues mid term


was (Author: romain.manni-bucau):
Ok, take my comment was more "please provide both" (one will delegate to the other).

Util class will be very useful to not force some config through inheritance.

In my current job we have a lot of this kind of component and composition always leads to
better model where inheritance leads to issues mid term

> implementBufferedItemReeader
> ----------------------------
>
>                 Key: BATCHEE-27
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-27
>             Project: BatchEE
>          Issue Type: New Feature
>          Components: batchee-extensions
>    Affects Versions: 0.1-incubating
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 0.2-incubating
>
>
> Most ItemReader look the same. They first query most of the items, cache them and then
return one by one from this cache.
> We don't have to implement this over and over again. Instead we can provide an abstract
class which does the buffer handling for us.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message