Interface JobTemplate

All Known Implementing Classes:
JobTemplateImpl

public interface JobTemplate
JobTemplate is the base type for classes that transfer records from DataReaders to DataWriters. The default implementation can be accessed via the DEFAULT public field.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final JobTemplate
     
  • Method Summary

    Modifier and Type
    Method
    Description
    transfer(DataReader reader, DataWriter writer)
    Transfers all records from the reader to the writer on the current thread and returns the finished job.
    <R extends DataReader, W extends DataWriter>
    Job
    transfer(R reader, W writer, boolean async, JobCallback<R,W> callback)
    Transfers all records from the reader to the writer, on a new thread if async is true, reporting progress and the outcome to the callback.
  • Field Details

  • Method Details