|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.6.0) E17060-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.odi.domain.xrefs.expression.contexts.CachingExpressionContextDecorator
public class CachingExpressionContextDecorator
Implementation of IExpressionContext
that provides caching of SnpsExpressionTag
s for a concrete IExpressionContext
instance.
This implementation guarantee that multiple calls to getSnpsExpressionTags(SnpsLanguage)
will compute expression tags only once until caller invoke resetCache()
or resetCache(SnpsLanguage)
.
Constructor Summary | |
---|---|
CachingExpressionContextDecorator(IExpressionContext pContext) Construct a new CachingExpressionContextDecorator . |
Method Summary | |
---|---|
com.sunopsis.language.parser.SnpsExpressionTag[] |
getSnpsExpressionTags(com.sunopsis.language.SnpsLanguage pSnpsLanguage) Obtains the expression tags relative to this context. |
boolean |
isCachePopulated(com.sunopsis.language.SnpsLanguage pSnpsLanguage) |
void |
resetCache() Reset cache of expression tags for all languages. |
void |
resetCache(com.sunopsis.language.SnpsLanguage pSnpsLanguage) Reset cache of expression tags for the given language. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachingExpressionContextDecorator(IExpressionContext pContext)
CachingExpressionContextDecorator
.pContext
- the context to manage caching forMethod Detail |
---|
public com.sunopsis.language.parser.SnpsExpressionTag[] getSnpsExpressionTags(com.sunopsis.language.SnpsLanguage pSnpsLanguage)
IExpressionContext
getSnpsExpressionTags
in interface IExpressionContext
pSnpsLanguage
- the language that will be used when manipulating the expression tags (i.e. when building the Expression
)public boolean isCachePopulated(com.sunopsis.language.SnpsLanguage pSnpsLanguage)
public void resetCache(com.sunopsis.language.SnpsLanguage pSnpsLanguage)
pSnpsLanguage
- the languagepublic void resetCache()
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.6.0) E17060-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |