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
ConstructorDescriptionRegExCacheMapping
(String sCacheNamePattern, String sCachingSchemeName) Construct aRegExCacheMapping
for caches that will use raw types by default. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines if theResourceMapping
is 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, validateScheme
Methods 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 aRegExCacheMapping
for 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 thisRegExCacheMapping
will be associated
-
-
Method Details
-
isForName
Description copied from class:ResourceMapping
Determines if theResourceMapping
is for (matches) the specified resource name.- Overrides:
isForName
in classResourceMapping
- Parameters:
sName
- the resource name to check for a match- Returns:
true
if theResourceMapping
is for the specified resource name,false
otherwise
-