|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.coherence.config.CacheConfig
public class CacheConfig
A CacheConfig is the top-level container for Coherence Cache Configuration, that of which is used at runtime to establish caches and services.
| Constructor Summary | |
|---|---|
CacheConfig(com.tangosol.config.expression.ParameterResolver defaultParameterResolver)Construct a CacheConfig. |
|
| Method Summary | |
|---|---|
CachingScheme |
findSchemeByCacheName(java.lang.String sCacheName)Find the CachingScheme for the specified cache name. |
ServiceScheme |
findSchemeBySchemeName(java.lang.String sSchemeName)Find the ServiceScheme given the scheme name. |
ServiceScheme |
findSchemeByServiceName(java.lang.String sServiceName)Find the ServiceScheme given the service name. |
CacheMappingRegistry |
getCacheMappingRegistry()Obtain the CacheMappingRegistry for the CacheConfig. |
com.tangosol.config.expression.ParameterResolver |
getDefaultParameterResolver()Obtains the ParameterResolver to use for the CacheConfig when no other is available or in context. |
java.util.List |
getEventInterceptorBuilders()Obtains the List of NamedEventInterceptorBuilders for this CacheConfig. |
java.lang.String |
getScopeName()Obtains the scope name of the CacheConfig. |
ServiceSchemeRegistry |
getServiceSchemeRegistry()Obtain the ServiceSchemeRegistry for the CacheConfig. |
boolean |
isScoped()Determines if the CacheConfig has been provided with a scope name. |
void |
setCacheMappingRegistry(CacheMappingRegistry registry)Set the CacheMappingRegistry. |
void |
setEventInterceptorBuilders(java.util.List listBuilders)Sets the List of NamedEventInterceptorBuilders for this CacheConfig. |
void |
setScopeName(java.lang.String sScopeName)Set the scope name of the CacheConfig (which will be trimmed) |
void |
setServiceSchemeRegistry(ServiceSchemeRegistry registry)Set the ServiceSchemeRegistry for the CacheConfig. |
CacheConfig |
validate()Validate the cache configuration. |
| Constructor Detail |
|---|
public CacheConfig(com.tangosol.config.expression.ParameterResolver defaultParameterResolver)
CacheConfig.| Method Detail |
|---|
public java.lang.String getScopeName()
CacheConfig.public boolean isScoped()
CacheConfig has been provided with a scope name.true if the CacheConfig has a scope name, false otherwise
@Injectable(value="scope-name")
public void setScopeName(java.lang.String sScopeName)
CacheConfig (which will be trimmed)sScopeName - the scope namepublic java.util.List getEventInterceptorBuilders()
List of NamedEventInterceptorBuilders for this CacheConfig.null if unspecified
@Injectable(value="interceptors")
public void setEventInterceptorBuilders(java.util.List listBuilders)
List of NamedEventInterceptorBuilders for this CacheConfig.listBuilders - the List of NamedEventInterceptorBuilders for this CacheConfigpublic CacheMappingRegistry getCacheMappingRegistry()
CacheMappingRegistry for the CacheConfig.CacheMappingRegistry
@Injectable(value="caching-scheme-mapping")
public void setCacheMappingRegistry(CacheMappingRegistry registry)
CacheMappingRegistry.registry - the CacheMappingRegistrypublic ServiceSchemeRegistry getServiceSchemeRegistry()
ServiceSchemeRegistry for the CacheConfig.ServiceSchemeRegistry
@Injectable(value="caching-schemes")
public void setServiceSchemeRegistry(ServiceSchemeRegistry registry)
ServiceSchemeRegistry for the CacheConfig.registry - the ServiceSchemeRegistrypublic CachingScheme findSchemeByCacheName(java.lang.String sCacheName)
CachingScheme for the specified cache name.sCacheName - the cache nameCachingScheme or null if not foundpublic ServiceScheme findSchemeByServiceName(java.lang.String sServiceName)
ServiceScheme given the service name.sServiceName - the service name to matchServiceScheme or nullpublic ServiceScheme findSchemeBySchemeName(java.lang.String sSchemeName)
ServiceScheme given the scheme name.sSchemeName - the scheme name to matchServiceScheme or nullpublic com.tangosol.config.expression.ParameterResolver getDefaultParameterResolver()
ParameterResolver to use for the CacheConfig when no other is available or in context.ParameterResolverpublic CacheConfig validate()
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||