public static class InitParamProcessor.CacheRefExpression extends Object implements com.tangosol.config.expression.Expression<NamedCache>
Expression implementation that represents the use of a {cache-ref} macro in a Cache Configuration File.| Constructor and Description |
|---|
CacheRefExpression(com.tangosol.config.expression.Expression<?> exprCacheName, ClassLoader classLoader, CacheMappingRegistry registry)
Constructs a CacheRefExpression.
|
| Modifier and Type | Method and Description |
|---|---|
NamedCache |
evaluate(com.tangosol.config.expression.ParameterResolver resolver)
Evaluates the
Expression to produce a value of type T. |
String |
toString() |
public CacheRefExpression(com.tangosol.config.expression.Expression<?> exprCacheName,
ClassLoader classLoader,
CacheMappingRegistry registry)
exprCacheName - the Expression representing the Cache NameclassLoader - the ClassLoader to use when loading the Cacheregistry - the CacheMappingRegistry to locate CacheMapping definitionspublic NamedCache evaluate(com.tangosol.config.expression.ParameterResolver resolver)
Expression to produce a value of type T.evaluate in interface com.tangosol.config.expression.Expression<NamedCache>resolver - the ParameterResolver for resolving any parameters used by the Expression