You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/04/18 13:33:15 UTC

[jira] [Comment Edited] (BATCHEE-27) implementBufferedItemReeader

    [ 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)