Class RuntimeData<U>
- java.lang.Object
-
- com.activeviam.risk.ref.services.impl.marketdataretrieval.RuntimeData<U>
-
- Type Parameters:
U
- The type of the interpolated value
- All Implemented Interfaces:
IServiceContext
public class RuntimeData<U> extends Object implements IServiceContext
This class is used to avoid the numerous runtime parameters to be transmitted during recursive calls
-
-
Constructor Summary
Constructors Constructor Description RuntimeData(IServiceContext context, LocalDate date, String sensitivityKind, String sensitivityName, String riskClass, IMarketDataRetrievalService.IPillarSet[] requestedPillars, String debugKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.quartetfs.biz.pivot.IActivePivot
getActivePivot()
This is the active pivotcom.qfs.store.IDatastoreVersion
getDatastoreVersion()
The datastoreLocalDate
getDate()
String
getDebugKey()
List<Object>
getLeafCoordinates()
Some extra parameters coming from the locationList<BiFunction<Double,U,U>>
getPostInterpolationCalcs()
List<BiFunction<Double,U,U>>
getPreInterpolationCalcs()
com.quartetfs.biz.pivot.query.IQueryCache
getQueryCache()
The query cacheIMarketDataRetrievalService.IPillarSet[]
getRequestedPillars()
String
getRiskClass()
String
getSensitivityKind()
String
getSensitivityName()
-
-
-
Constructor Detail
-
RuntimeData
public RuntimeData(IServiceContext context, LocalDate date, String sensitivityKind, String sensitivityName, String riskClass, IMarketDataRetrievalService.IPillarSet[] requestedPillars, String debugKey)
-
-
Method Detail
-
getActivePivot
public com.quartetfs.biz.pivot.IActivePivot getActivePivot()
Description copied from interface:IServiceContext
This is the active pivot- Specified by:
getActivePivot
in interfaceIServiceContext
- Returns:
- the instance
-
getDatastoreVersion
public com.qfs.store.IDatastoreVersion getDatastoreVersion()
Description copied from interface:IServiceContext
The datastore- Specified by:
getDatastoreVersion
in interfaceIServiceContext
- Returns:
- the instance
-
getQueryCache
public com.quartetfs.biz.pivot.query.IQueryCache getQueryCache()
Description copied from interface:IServiceContext
The query cache- Specified by:
getQueryCache
in interfaceIServiceContext
- Returns:
- the instance
-
getLeafCoordinates
public List<Object> getLeafCoordinates()
Description copied from interface:IServiceContext
Some extra parameters coming from the location- Specified by:
getLeafCoordinates
in interfaceIServiceContext
- Returns:
- A list of extra parameters
-
getDate
public LocalDate getDate()
-
getSensitivityKind
public String getSensitivityKind()
-
getSensitivityName
public String getSensitivityName()
-
getRiskClass
public String getRiskClass()
-
getRequestedPillars
public IMarketDataRetrievalService.IPillarSet[] getRequestedPillars()
-
getDebugKey
public String getDebugKey()
-
getPreInterpolationCalcs
public List<BiFunction<Double,U,U>> getPreInterpolationCalcs()
-
getPostInterpolationCalcs
public List<BiFunction<Double,U,U>> getPostInterpolationCalcs()
-
-