Class WrapperCachingScheme
java.lang.Object
com.tangosol.coherence.config.scheme.WrapperCachingScheme
- All Implemented Interfaces:
 BackingMapManagerBuilder,MapBuilder,NamedCacheBuilder,CachingScheme,Scheme,ServiceScheme
- Direct Known Subclasses:
 PagedTopicStorageScheme
A simple implementation of the 
CachingScheme interface
 built as a wrapper around another CachingScheme implementation.- Since:
 - Coherence 14.1.1
 - Author:
 - jk 2015.05.29
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface com.tangosol.coherence.config.builder.MapBuilder
MapBuilder.Dependencies - 
Field Summary
Fields inherited from interface com.tangosol.coherence.config.scheme.ServiceScheme
DELIM_APPLICATION_SCOPE, DELIM_DOMAIN_PARTITION - 
Constructor Summary
ConstructorsConstructorDescriptionWrapperCachingScheme(CachingScheme innerScheme) Create aWrapperCachingSchemethat wraps a specifiedCachingScheme. - 
Method Summary
Modifier and TypeMethodDescriptionObtain the wrappedCachingScheme.Obtains the name of theScheme.Return the service name with any scoping applied.Return theServiceBuilderthat is needed to build a service.Return the service name.Return the service type.booleanDetermines if theSchemeis a defined and thus useful name.booleanReturn true if the service has auto-start enabled.Realize aBackingMapManagerto be scoped by the specifiedConfigurableCacheFactory.realizeCache(ParameterResolver resolver, MapBuilder.Dependencies dependencies) Realizes aNamedCache(possibly "ensuring it") based on the state of the builder, the providedParameterResolverandMapBuilderdependencies.realizeMap(ParameterResolver resolver, MapBuilder.Dependencies dependencies) Realize aMapbased on the state of theMapBuilder, resolvable parameters and providedMapBuilder.Dependencies.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tangosol.coherence.config.scheme.ServiceScheme
getNamedCollectionBuilder, getScopedServiceNameForProperty 
- 
Constructor Details
- 
WrapperCachingScheme
Create aWrapperCachingSchemethat wraps a specifiedCachingScheme.- Parameters:
 innerScheme- theCachingSchemebeing wrapped
 
 - 
 - 
Method Details
- 
getCachingScheme
Obtain the wrappedCachingScheme.- Returns:
 - the wrapped 
CachingScheme 
 - 
realizeBackingMapManager
Description copied from interface:BackingMapManagerBuilderRealize aBackingMapManagerto be scoped by the specifiedConfigurableCacheFactory.- Specified by:
 realizeBackingMapManagerin interfaceBackingMapManagerBuilder- Parameters:
 ccf- theConfigurableCacheFactory- Returns:
 - a 
BackingMapManager 
 - 
realizeMap
Description copied from interface:MapBuilderRealize aMapbased on the state of theMapBuilder, resolvable parameters and providedMapBuilder.Dependencies.- Specified by:
 realizeMapin interfaceMapBuilder- Parameters:
 resolver- theParameterResolverdependencies- theMapBuilder.Dependenciesfor realizing theMap- Returns:
 - a 
Map 
 - 
realizeCache
Description copied from interface:NamedCacheBuilderRealizes aNamedCache(possibly "ensuring it") based on the state of the builder, the providedParameterResolverandMapBuilderdependencies.The
MapBuilderdependencies are required to satisfy the requirement when realizing aNamedCacheadditionally involves realizing one or more internalMaps.- Specified by:
 realizeCachein interfaceNamedCacheBuilder- Parameters:
 resolver- the ParameterResolverdependencies- theMapBuilderdependencies- Returns:
 - a 
NamedCache 
 - 
isAutoStart
public boolean isAutoStart()Description copied from interface:ServiceSchemeReturn true if the service has auto-start enabled.- Specified by:
 isAutoStartin interfaceServiceScheme- Returns:
 - the auto-start flag.
 
 - 
getServiceName
Description copied from interface:ServiceSchemeReturn the service name.- Specified by:
 getServiceNamein interfaceServiceScheme- Returns:
 - the service name
 
 - 
getScopedServiceName
Description copied from interface:ServiceSchemeReturn the service name with any scoping applied. The scoped name in general has the following format:[<domain-partition-name>'/'] [<application-scope>':'] <service-name>
- Specified by:
 getScopedServiceNamein interfaceServiceScheme- Returns:
 - the scoped service name
 
 - 
getServiceType
Description copied from interface:ServiceSchemeReturn the service type.- Specified by:
 getServiceTypein interfaceServiceScheme- Returns:
 - the service type
 
 - 
getServiceBuilder
Description copied from interface:ServiceSchemeReturn theServiceBuilderthat is needed to build a service.- Specified by:
 getServiceBuilderin interfaceServiceScheme- Returns:
 - the 
ServiceBuilderor null if the scheme does not support services. 
 - 
getEventInterceptorBuilders
Description copied from interface:ServiceSchemeObtains theListofNamedEventInterceptorBuilders that have been defined for theServiceScheme.Note: For those
ServiceSchemes don't support event interceptors, the returned value must be an empty list.- Specified by:
 getEventInterceptorBuildersin interfaceServiceScheme- Returns:
 - an 
ListoverNamedEventInterceptorBuilders 
 - 
getSchemeName
Description copied from interface:SchemeObtains the name of theScheme.- Specified by:
 getSchemeNamein interfaceScheme- Returns:
 - the scheme name
 
 - 
isAnonymous
public boolean isAnonymous()Description copied from interface:SchemeDetermines if theSchemeis a defined and thus useful name.- Specified by:
 isAnonymousin interfaceScheme- Returns:
 - if the 
Schemehas a name. 
 
 -