public class CachedFinder extends Object implements CapabilitiesFinder
| Constructor and Description |
|---|
CachedFinder(ConnectorManagerRepository repo,
VDBMetaData vdb)
Construct a CacheFinder that wraps another finder
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCapabilities(String connBinding,
SourceCapabilities sourceCaps) |
SourceCapabilities |
findCapabilities(String modelName)
Find capabilities used the cache if possible, otherwise do the lookup.
|
boolean |
isValid(String modelName) |
public CachedFinder(ConnectorManagerRepository repo, VDBMetaData vdb)
internalFinder - Finder to wrappublic SourceCapabilities findCapabilities(String modelName) throws TeiidComponentException
findCapabilities in interface CapabilitiesFinderTeiidComponentExceptionpublic void addCapabilities(String connBinding, SourceCapabilities sourceCaps)
public boolean isValid(String modelName)
isValid in interface CapabilitiesFinderCopyright © 2018 JBoss by Red Hat. All rights reserved.