Uses of Class
org.anchoranalysis.feature.calculate.cache.ChildCacheName
| Package | Description |
|---|---|
| org.anchoranalysis.feature.calculate.cache |
Classes to cache feature-results or parts of feature-results that occur repeatedly among features
or across calculations of the same feature.
|
-
Uses of ChildCacheName in org.anchoranalysis.feature.calculate.cache
Methods in org.anchoranalysis.feature.calculate.cache with parameters of type ChildCacheName Modifier and Type Method Description <S extends FeatureInput>
doubleCalculateForChild. calculate(Feature<S> feature, CalculationPart<S,T> calculation, ChildCacheName childCacheName)Calculates a feature in a child-cache using a new input created from aCalculationPart.<S extends FeatureInput>
doubleCalculateForChild. calculate(Feature<S> feature, S input, ChildCacheName childCacheName)Calculates a feature in a child-cache.<S extends FeatureInput, U>
UCalculateForChild. calculate(ChildCacheName childCacheName, S input, Function<CalculationPartResolver<S>,ResolvedPart<U,S>> resolver)Calculates aCalculationPartin a child-cache.<V extends FeatureInput>
FeatureCalculationCache<V>FeatureCalculationCache. childCacheFor(ChildCacheName childName, Class<? extends FeatureInput> inputType, CacheCreator cacheCreator)Gets/creates a child-cache for a given name.Method parameters in org.anchoranalysis.feature.calculate.cache with type arguments of type ChildCacheName Modifier and Type Method Description voidFeatureCalculationCache. invalidateExcept(Set<ChildCacheName> childCacheNames)Invalidates existing caches so the next calculations occur freshly - except some particular child-caches who are not invalidated.