public final class AccumulatingResultBuilder extends Object
Index.Result
implementation that accumulates results from
other operations and awaits on them all.
For operations that are complete it just aggregates their results.
Constructor and Description |
---|
AccumulatingResultBuilder() |
Modifier and Type | Method and Description |
---|---|
AccumulatingResultBuilder |
add(Index.Result result) |
AccumulatingResultBuilder |
add(String indexName,
Long identifier,
Index.Result result) |
void |
addCompletionTask(Runnable runnable) |
Index.Result |
toResult() |
public AccumulatingResultBuilder add(@Nonnull Index.Result result)
public AccumulatingResultBuilder add(String indexName, Long identifier, @Nonnull Index.Result result)
public Index.Result toResult()
Copyright © 2002-2021 Atlassian. All Rights Reserved.