public abstract static class TransformProvider.util.Memoize<T extends Transform> extends Provider.util.Memoize<Query,T> implements TransformProvider.util.MemoizingProvider<T>
Memoizing.util
TransformProvider.util
Modifier | Constructor and Description |
---|---|
|
Memoize() |
|
Memoize(boolean idOnly) |
protected |
Memoize(TransformProvider.util.Memoize<T> shareCacheWith)
Create a new
TransformProvider.util.Memoize object that is based on the same underlying caches. |
Modifier and Type | Method and Description |
---|---|
protected abstract TransformProvider<T> |
_withContext(org.slf4j.Logger context)
Create a new
TransformProvider with the given context that is also memoizing
and is based on the same underlying caches. |
Iterable<T> |
get(Query query)
Get a collection of objects based on a query.
|
protected boolean |
skip(Query query) |
TransformProvider<T> |
withContext(org.slf4j.Logger context) |
_apply, _get
apply, invalidateCache
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invalidateCache
public Memoize()
public Memoize(boolean idOnly)
idOnly
- whether to memoize (id:...)
lookups only.protected Memoize(TransformProvider.util.Memoize<T> shareCacheWith)
TransformProvider.util.Memoize
object that is based on the same underlying caches.protected boolean skip(Query query)
public Iterable<T> get(Query query)
Provider
protected abstract TransformProvider<T> _withContext(org.slf4j.Logger context)
TransformProvider
with the given context that is also memoizing
and is based on the same underlying caches.public TransformProvider<T> withContext(org.slf4j.Logger context)
withContext
in interface Contextual<org.slf4j.Logger,TransformProvider<T extends Transform>>
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.