Class PagedLoader<T>

java.lang.Object
ch.tocco.nice2.enterprisesearch.impl.indexfix.PagedLoader<T>

public class PagedLoader<T> extends Object
Calls the given PagedLoader.Query in partitions of pageSize and calls the resultProcessing for each loaded partition. The resultProcessing should return true if processing the partition was successful. If false is returned, the remaining partitions will not be loaded.
  • Constructor Details

  • Method Details

    • load

      public boolean load()
      Return true if loading was successful. Else loading was aborted after an error (not all partitions are processed)