public interface ChildCacheFinder
Modifier and Type | Method and Description |
---|---|
Optional<Set<ChildCacheName>> |
cachesToAvoidInvalidating()
If set, these particular-caches are exceptionally not invalidated during the typical
invalidation operation on their parent.
|
<V extends FeatureInput> |
childCacheFor(FeatureCalculationCache<?> parentCache,
CacheCreator factory,
ChildCacheName childCacheName,
V input)
Selects a child-cache given a parent and a child-name.
|
ChildCacheFinder |
finderForGrandchild()
What finder to use for children-of-children?
|
<V extends FeatureInput> FeatureCalculationCache<V> childCacheFor(FeatureCalculationCache<?> parentCache, CacheCreator factory, ChildCacheName childCacheName, V input) throws FeatureCalculationException
This may involve reusing an existing cache, or creating a new one, depending on the strategy.
V
- type-of-input to be used to calculate on the child-cacheparentCache
- the existing parent-cachefactory
- how to create new cacheschildCacheName
- name of child-cacheinput
- input to be used for calculations on the child-cacheFeatureCalculationException
- if no child-cache exists or can be created for childCacheName
.ChildCacheFinder finderForGrandchild()
Optional<Set<ChildCacheName>> cachesToAvoidInvalidating()
If not-set, there are no exceptions.
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.