public abstract class AbstractPropositionFinder<K> extends Object implements PropositionFinder<K>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPropositionFinder(PropositionRetriever<K> inRetriever) |
| Modifier and Type | Method and Description |
|---|---|
org.protempa.PropositionDefinition |
find(String sourceConfigId,
K inKey)
Retrieves a proposition definition from the
PropositionRetriever
specified in this object's constructor. |
protected abstract net.sf.ehcache.Cache |
getCache() |
protected abstract net.sf.ehcache.CacheManager |
getCacheManager() |
void |
shutdown()
Performs any clean-up operations for the finder.
|
protected AbstractPropositionFinder(PropositionRetriever<K> inRetriever)
public org.protempa.PropositionDefinition find(String sourceConfigId, K inKey) throws PropositionFindException
PropositionRetriever
specified in this object's constructor.find in interface PropositionFinder<K>sourceConfigId - the source configuration IDinKey - a proposition key.null if there is no
proposition definition with the specified key for the specified user.PropositionFindException - if an error occurred looking for the
proposition definition.public void shutdown()
PropositionFindershutdown in interface PropositionFinder<K>protected abstract net.sf.ehcache.CacheManager getCacheManager()
protected abstract net.sf.ehcache.Cache getCache()
Copyright © 2012–2016 Emory University. All rights reserved.