Uses of Class
org.anchoranalysis.feature.calculate.cache.ChildCacheName
Packages that use ChildCacheName
Package
Description
Classes to cache feature-results or parts of feature-results that occur repeatedly among features
or across calculations of the same feature.
Strategies to determine which child-cache (among hierarchy) to employ for a particular feature
calculation.
Features that operate on a pair of
ObjectMask
s.Implementations of
FeatureSingleObject
that implement
morphological operations.Implementations of
CalculationPart
as used by
features elsewhere in this package.-
Uses of ChildCacheName in org.anchoranalysis.feature.calculate.cache
Methods in org.anchoranalysis.feature.calculate.cache with parameters of type ChildCacheNameModifier and TypeMethodDescription<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 aCalculationPart
in 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 ChildCacheNameModifier and TypeMethodDescriptionvoid
FeatureCalculationCache.invalidateExcept
(Set<ChildCacheName> childCacheNames) Invalidates existing caches so the next calculations occur freshly - except some particular child-caches who are not invalidated. -
Uses of ChildCacheName in org.anchoranalysis.feature.session.cache.finder
Methods in org.anchoranalysis.feature.session.cache.finder that return types with arguments of type ChildCacheNameModifier and TypeMethodDescriptionCheckCacheForSpecificChildren.cachesToAvoidInvalidating()
ChildCacheFinder.cachesToAvoidInvalidating()
If set, these particular-caches are exceptionally not invalidated during the typical invalidation operation on their parent.DefaultChildCacheFinder.cachesToAvoidInvalidating()
CacheTransferSourceCollection.getAllCacheNames()
The names of all child-caches that are made available.CacheTransferSource.getCacheNames()
The names of the child-caches that can be used as sources.Methods in org.anchoranalysis.feature.session.cache.finder with parameters of type ChildCacheNameModifier 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) boolean
CacheTransferSourceCollection.contains
(ChildCacheName name) Whether a particular child-cache exists in the source?boolean
CacheTransferSource.containsChild
(ChildCacheName name) Whether a particular child-cache exists in the source?Constructor parameters in org.anchoranalysis.feature.session.cache.finder with type arguments of type ChildCacheNameModifierConstructorDescriptionCacheTransferSource
(CacheSupplier<T, OperationFailedException> cacheToSearch, Set<ChildCacheName> specificChildren) Creates a newCacheTransferSource
instance. -
Uses of ChildCacheName in org.anchoranalysis.image.feature.bean.object.pair
Fields in org.anchoranalysis.image.feature.bean.object.pair declared as ChildCacheNameModifier and TypeFieldDescriptionstatic final ChildCacheName
FeatureDeriveFromPair.CACHE_NAME_FIRST
Cache name for the first object in the pair.static final ChildCacheName
FeatureDeriveFromPair.CACHE_NAME_MERGED
Cache name for the merged object from the pair.static final ChildCacheName
FeatureDeriveFromPair.CACHE_NAME_SECOND
Cache name for the second object in the pair. -
Uses of ChildCacheName in org.anchoranalysis.plugin.image.feature.bean.object.single.morphological
Methods in org.anchoranalysis.plugin.image.feature.bean.object.single.morphological that return ChildCacheNameModifier and TypeMethodDescriptionprotected abstract ChildCacheName
DerivedObject.cacheName()
Provides a unique name for caching the derived object.Erode.cacheName()
Provides a unique name for caching the eroded object.Shell.cacheName()
-
Uses of ChildCacheName in org.anchoranalysis.plugin.image.feature.object.calculation.delegate
Methods in org.anchoranalysis.plugin.image.feature.object.calculation.delegate with parameters of type ChildCacheNameModifier and TypeMethodDescriptionstatic <S extends FeatureInput,
T extends FeatureInput, U>
doubleCalculateInputFromDelegateOption.calc
(FeatureCalculationInput<T> input, CalculationPart<U, T> delegate, Function<ResolvedPart<U, T>, CalculateInputFromDelegateOption<S, T, U>> createFromDelegate, Feature<S> feature, ChildCacheName cacheName, double emptyValue) Calculates a feature using a cached-calculation as delegate.