Uses of Interface
org.anchoranalysis.feature.calculate.cache.CacheCreator
Packages that use CacheCreator
Package
Description
Classes to cache feature-results or parts of feature-results that occur repeatedly among features
or across calculations of the same feature.
A defined context in which one or more features are provided inputs and produce results.
Creates a
FeatureCalculationCache
to use
during feature-calculations.Strategies to determine which child-cache (among hierarchy) to employ for a particular feature
calculation.
Strategies on whether to reuse or invalidate a feature-input's cache.
-
Uses of CacheCreator in org.anchoranalysis.feature.calculate.cache
Methods in org.anchoranalysis.feature.calculate.cache with parameters of type CacheCreatorModifier and TypeMethodDescription<V extends FeatureInput>
FeatureCalculationCache<V> FeatureCalculationCache.childCacheFor
(ChildCacheName childName, Class<? extends FeatureInput> inputType, CacheCreator cacheCreator) Gets/creates a child-cache for a given name. -
Uses of CacheCreator in org.anchoranalysis.feature.session
Constructors in org.anchoranalysis.feature.session with parameters of type CacheCreatorModifierConstructorDescriptionSessionInputSequential
(T input, CacheCreator cacheCreator) Creates for a particular input andCacheCreator
, otherwise using defaults.SessionInputSequential
(T input, CacheCreator cacheCreator, ChildCacheFinder findChild) Creates for a particular input,CacheCreator
andChildCacheFinder
. -
Uses of CacheCreator in org.anchoranalysis.feature.session.cache
Classes in org.anchoranalysis.feature.session.cache that implement CacheCreatorModifier and TypeClassDescriptionclass
Creates aFeatureCalculationCache
which caches the results of calls to features, even if the same feature appears multiple times, directly or indirectly. -
Uses of CacheCreator in org.anchoranalysis.feature.session.cache.finder
Methods in org.anchoranalysis.feature.session.cache.finder with parameters of type CacheCreatorModifier and TypeMethodDescription<V extends FeatureInput>
FeatureCalculationCache<V> CheckCacheForSpecificChildren.childCacheFor
(FeatureCalculationCache<?> parentCache, CacheCreator factory, ChildCacheName childName, V input) <V extends FeatureInput>
FeatureCalculationCache<V> ChildCacheFinder.childCacheFor
(FeatureCalculationCache<?> parentCache, CacheCreator factory, ChildCacheName childCacheName, V input) Selects a child-cache given a parent and a child-name.<V extends FeatureInput>
FeatureCalculationCache<V> DefaultChildCacheFinder.childCacheFor
(FeatureCalculationCache<?> parentCache, CacheCreator factory, ChildCacheName childName, V input) -
Uses of CacheCreator in org.anchoranalysis.feature.session.replace
Constructors in org.anchoranalysis.feature.session.replace with parameters of type CacheCreatorModifierConstructorDescriptionAlwaysNew
(CacheCreator cacheCreator) Constructor with default means of creating aFeatureCalculationInput
.AlwaysNew
(CacheCreator cacheCreator, ChildCacheFinder findChildStrategy) CacheAndReuseStrategy
(CacheCreator cacheCreator) Create with a particularCacheCreator
.ReuseSingletonStrategy
(CacheCreator cacheCreator) Constructor with default means of creating aFeatureCalculationInput
.ReuseSingletonStrategy
(CacheCreator cacheCreator, ChildCacheFinder findChildStrategy) Constructor with custom means of creating aFeatureCalculationInput
Constructor parameters in org.anchoranalysis.feature.session.replace with type arguments of type CacheCreatorModifierConstructorDescriptionBoundReplaceStrategy
(Function<CacheCreator, S> createStrategy) Creates a newBoundReplaceStrategy
instance.