|Constructor and Description|
Creates a new instance.
|Modifier and Type||Method and Description|
Invoked when the calculations start; guaranteed to be invoked before
Invoked to create the aggregate result when the individual calculations are complete.
Invoked when a calculation completes.
calculationsComplete, completionStage, getFuture, result
public void calculationsStarted(List<CalculationTarget> targets, List<Column> columns)
targets- the targets for which values are being calculated; these are often trades
columns- the columns for which values are being calculated
public void resultReceived(CalculationTarget target, CalculationResult result)
It is guaranteed that
CalculationListener.calculationsStarted(List, List) will be called before
this method and that this method will never be called after
It is possible that this method will never be called. This can happen if an empty list of targets is passed to the calculation runner.
protected Results createAggregateResult()
This is guaranteed to be invoked after all results have been passed to
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.