Interface ReindexRequestCoalescer

All Known Implementing Classes:
DefaultReindexRequestCoalescer, ReindexRequestNonCoalescer

public interface ReindexRequestCoalescer
Combines reindex requests into a smaller number that do the same job.
Since:
6.4
  • Method Summary

    Modifier and Type
    Method
    Description
    Attempts to combine a list of reindex requests into a fewer number.
  • Method Details

    • coalesce

      @Nonnull List<ReindexRequest> coalesce(@Nonnull List<ReindexRequest> requests)
      Attempts to combine a list of reindex requests into a fewer number.
      Parameters:
      requests - the requests to combine.
      Returns:
      a new list of possibly fewer reindex requests.