public final class AggregateResult<TInput,TOutput> extends Object
VortexAggregateFuture.| Modifier and Type | Method and Description |
|---|---|
List<TInput> |
getAggregatedInputs() |
TOutput |
getAggregateResult() |
Optional<Exception> |
getException()
If an aggregation fails,
VortexAggregateException will be thrown, otherwise
the Exception that caused the Tasklet to fail will be thrown directly. |
public TOutput getAggregateResult() throws VortexAggregateException
VortexAggregateException will be thrown, otherwise
the Exception that caused the Tasklet to fail will be thrown directly.Exception - the Exception that caused the Tasklet or aggregation failure.VortexAggregateExceptionpublic List<TInput> getAggregatedInputs()
public Optional<Exception> getException()
VortexAggregateException will be thrown, otherwise
the Exception that caused the Tasklet to fail will be thrown directly.Copyright © 2017 The Apache Software Foundation. All rights reserved.