Class CollectionBasedBatchProcessor<E,B extends Collection<E>,BC extends CollectionBatchCollector<B,E>,BJ extends Consumer<B>>

java.lang.Object
uk.ac.ebi.utils.threading.batchproc.BatchProcessor<B,BC,BJ>
uk.ac.ebi.utils.threading.batchproc.ItemizedBatchProcessor<E,B,BC,BJ>
uk.ac.ebi.utils.threading.batchproc.processors.CollectionBasedBatchProcessor<E,B,BC,BJ>
Direct Known Subclasses:
ListBasedBatchProcessor, SetBasedBatchProcessor

@Deprecated public abstract class CollectionBasedBatchProcessor<E,B extends Collection<E>,BC extends CollectionBatchCollector<B,E>,BJ extends Consumer<B>> extends ItemizedBatchProcessor<E,B,BC,BJ>
Deprecated.
the functionality available in this package is provided by project Reactor and we recommend to switch to that. @see ReactorUtils
An item-based batch processor that is based on Java collection batches. This is mainly an entry point for specific sub-classes, which map concrete Java collections.
Author:
brandizi
Date:
25 Nov 2019
  • Constructor Details

    • CollectionBasedBatchProcessor

      public CollectionBasedBatchProcessor(BJ batchJob, BC batchCollector)
      Deprecated.
    • CollectionBasedBatchProcessor

      public CollectionBasedBatchProcessor(BJ batchJob)
      Deprecated.
      Initialises with a default collection, which should also have a default max size.
    • CollectionBasedBatchProcessor

      public CollectionBasedBatchProcessor()
      Deprecated.
      This initialises with a default collection and size, like CollectionBasedBatchProcessor(Consumer), and no job (which needs to be set later via BatchProcessor.setBatchJob(Consumer)).
  • Method Details