public final class

AccumulatingResultBuilder

extends Object
java.lang.Object
   ↳ com.atlassian.jira.index.AccumulatingResultBuilder

Class Overview

Used to build a Index.Result implementation that accumulates results from other operations and awaits on them all.

For operations that are complete it just aggregates their results.

Summary

Public Constructors
AccumulatingResultBuilder()
Public Methods
AccumulatingResultBuilder add(String indexName, Long identifier, Index.Result result)
AccumulatingResultBuilder add(Index.Result result)
void addCompletionTask(Runnable runnable)
Index.Result toResult()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AccumulatingResultBuilder ()

Public Methods

public AccumulatingResultBuilder add (String indexName, Long identifier, Index.Result result)

public void addCompletionTask (Runnable runnable)

public Index.Result toResult ()