public interface

ReindexRequestCoalescer

com.atlassian.jira.index.request.ReindexRequestCoalescer
Known Indirect Subclasses

Class Overview

Combines reindex requests into a smaller number that do the same job.

Summary

Public Methods
@Nonnull List<ReindexRequest> coalesce(List<ReindexRequest> requests)
Attempts to combine a list of reindex requests into a fewer number.

Public Methods

@Nonnull public List<ReindexRequest> coalesce (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.