Class RetryReader

  • All Implemented Interfaces:
    jakarta.batch.api.chunk.ItemReader

    @Named("retryReader")
    public class RetryReader
    extends jakarta.batch.api.chunk.AbstractItemReader
    • Constructor Detail

      • RetryReader

        public RetryReader()
    • Method Detail

      • open

        public void open​(Serializable cpd)
                  throws NamingException
        Specified by:
        open in interface jakarta.batch.api.chunk.ItemReader
        Overrides:
        open in class jakarta.batch.api.chunk.AbstractItemReader
        Throws:
        NamingException
      • readItem

        public NumbersRecord readItem()
                               throws Exception
        Specified by:
        readItem in interface jakarta.batch.api.chunk.ItemReader
        Specified by:
        readItem in class jakarta.batch.api.chunk.AbstractItemReader
        Throws:
        Exception
      • checkpointInfo

        public Serializable checkpointInfo()
                                    throws Exception
        Specified by:
        checkpointInfo in interface jakarta.batch.api.chunk.ItemReader
        Overrides:
        checkpointInfo in class jakarta.batch.api.chunk.AbstractItemReader
        Throws:
        Exception