Package com.atlassian.jira.index.request
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 TypeMethodDescriptioncoalesce(List<ReindexRequest> requests) Attempts to combine a list of reindex requests into a fewer number.
-
Method Details
-
coalesce
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.
-