Package com.tangosol.coherence.config
Class RegExCacheMapping
java.lang.Object
com.tangosol.coherence.config.ResourceMapping
com.tangosol.coherence.config.CacheMapping
com.tangosol.coherence.config.RegExCacheMapping
An extension of
CacheMapping that can use a regular expression to
match with a given cache name.- Since:
- Coherence 14.1.1
- Author:
- jk 2015.05.29
-
Field Summary
Fields inherited from class com.tangosol.coherence.config.CacheMapping
m_fFederated -
Constructor Summary
ConstructorsConstructorDescriptionRegExCacheMapping(String sCacheNamePattern, String sCachingSchemeName) Construct aRegExCacheMappingfor caches that will use raw types by default. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if theResourceMappingis for (matches) the specified resource name.Methods inherited from class com.tangosol.coherence.config.CacheMapping
getCacheNamePattern, getCachingSchemeName, getConfigElementName, getKeyClassName, getValueClassName, isFederated, setFederated, setInternal, setKeyClassName, setValueClassName, usesRawTypes, validateSchemeMethods inherited from class com.tangosol.coherence.config.ResourceMapping
getEventInterceptorBuilders, getNamePattern, getNameUsing, getParameterResolver, getResourceRegistry, getSchemeName, getSubMappings, getValue, getValue, getWildcardMatch, isInternal, setEventInterceptorBuilders, setParameterResolver, usesWildcard
-
Constructor Details
-
RegExCacheMapping
Construct aRegExCacheMappingfor caches that will use raw types by default.- Parameters:
sCacheNamePattern- the RegEx pattern that maps cache names to caching schemessCachingSchemeName- the name of the caching scheme to which caches matching thisRegExCacheMappingwill be associated
-
-
Method Details
-
isForName
Description copied from class:ResourceMappingDetermines if theResourceMappingis for (matches) the specified resource name.- Overrides:
isForNamein classResourceMapping- Parameters:
sName- the resource name to check for a match- Returns:
trueif theResourceMappingis for the specified resource name,falseotherwise
-