Class RetryReader

java.lang.Object
jakarta.batch.api.chunk.AbstractItemReader
com.ibm.jbatch.tck.artifacts.chunkartifacts.RetryReader
All Implemented Interfaces:
jakarta.batch.api.chunk.ItemReader

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

  • Constructor Details

    • RetryReader

      public RetryReader()
  • Method Details

    • 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