Class HorizontalCacheCreator
Object
HorizontalCacheCreator
- All Implemented Interfaces:
CacheCreator
Creates a
FeatureCalculationCache which caches the results of calls to features, even if
the same feature appears multiple times, directly or indirectly.
One feature may indirectly call another feature when calculating, or explicitly by reference.
It is termed horizontal as it does not cache computations between successive inputs, but rather for the same input across multiple features.
- Author:
- Owen
-
Constructor Summary
ConstructorsConstructorDescriptionHorizontalCacheCreator(FeatureList<? extends FeatureInput> namedFeatures, SharedFeatures sharedFeatures, FeatureInitialization initialization, Logger logger) Creates a newHorizontalCacheCreatorinstance. -
Method Summary
Modifier and TypeMethodDescription<T extends FeatureInput>
FeatureCalculationCache<T> create(Class<? extends FeatureInput> inputType)
-
Constructor Details
-
Method Details
-
create
public <T extends FeatureInput> FeatureCalculationCache<T> create(Class<? extends FeatureInput> inputType) - Specified by:
createin interfaceCacheCreator
-