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 2016/09/22 13:47:21 UTC

[jira] [Commented] (BATCHEE-40) rename BufferedItemReader to NoStateBufferedItemReader and implement a BufferedItemReader to have one with a checkpoint

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

Romain Manni-Bucau commented on BATCHEE-40:
-------------------------------------------

Not sure we need that cause the state is in the child so think we are good enough since the buffer reader can't guess it

any issue closing this one?

> rename BufferedItemReader to NoStateBufferedItemReader and implement a BufferedItemReader<R, C> to have one with a checkpoint
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: BATCHEE-40
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-40
>             Project: BatchEE
>          Issue Type: Improvement
>          Components: batchee-extensions
>    Affects Versions: 0.2-incubating
>            Reporter: Reinhard Sandtner
>            Priority: Minor
>
> currently the BufferedItemReader<R> extends NoStateTypedItemReader<R> but we also need a BufferedItemReader which has a 'state'.
> The problem is how to get the last processed index.
> i.e. we can count the number of chunks and on restart we calculate where to continue



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)