Class ListBatchCollector<E>

Type Parameters:
E -
All Implemented Interfaces:
BatchCollector<List<E>>, ItemizedBatchCollector<List<E>,E>, ItemizedSizedBatchCollector<List<E>,E>, SizedBatchCollector<List<E>>

@Deprecated public class ListBatchCollector<E> extends CollectionBatchCollector<List<E>,E>
Deprecated.
the functionality available in this package is provided by project Reactor and we recommend to switch to that. @see ReactorUtils
Uses ArrayList as default and the default max size provided by AbstractSizedBatchCollector.
Author:
brandizi
Date:
25 Nov 2019
  • Constructor Details

    • ListBatchCollector

      public ListBatchCollector(Supplier<List<E>> batchFactory, int maxBatchSize)
      Deprecated.
    • ListBatchCollector

      public ListBatchCollector(int maxBatchSize)
      Deprecated.
      ArrayList as default.
    • ListBatchCollector

      public ListBatchCollector()
      Deprecated.
      ArrayList as default.