Class AbstractCompositeScheme<T>
- java.lang.Object
-
- com.tangosol.coherence.config.scheme.AbstractScheme
-
- com.tangosol.coherence.config.scheme.AbstractServiceScheme<D>
-
- com.tangosol.coherence.config.scheme.AbstractCachingScheme
-
- com.tangosol.coherence.config.scheme.AbstractLocalCachingScheme<T>
-
- com.tangosol.coherence.config.scheme.AbstractCompositeScheme<T>
-
- All Implemented Interfaces:
BackingMapManagerBuilder
,BuilderCustomization<T>
,MapBuilder
,NamedCacheBuilder
,ServiceBuilder
,CachingScheme
,ObservableCachingScheme
,Scheme
,ServiceScheme
- Direct Known Subclasses:
NearScheme
,OverflowScheme
,ViewScheme
public abstract class AbstractCompositeScheme<T> extends AbstractLocalCachingScheme<T>
TheAbstractCompositeScheme
manages a scheme that is used to build a composite cache consisting of a front map and a back cache/map.- Since:
- Coherence 12.1.2
- Author:
- pfm 2011.11.30
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.tangosol.coherence.config.builder.MapBuilder
MapBuilder.Dependencies
-
-
Field Summary
-
Fields inherited from class com.tangosol.coherence.config.scheme.AbstractServiceScheme
m_serviceDependencies
-
Fields inherited from interface com.tangosol.coherence.config.scheme.ServiceScheme
DELIM_APPLICATION_SCOPE, DELIM_DOMAIN_PARTITION
-
-
Constructor Summary
Constructors Constructor Description AbstractCompositeScheme()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CachingScheme
getBackScheme()
Return the back scheme.CachingScheme
getFrontScheme()
Return the front scheme.void
setBackScheme(CachingScheme scheme)
Set the back scheme.void
setFrontScheme(CachingScheme scheme)
Set the front scheme.protected void
validate(ParameterResolver resolver)
Validate the properties.-
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractLocalCachingScheme
getCustomBuilder, getEventInterceptorBuilders, getServiceType, isRunningClusterNeeded, setCustomBuilder
-
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractCachingScheme
establishMapListeners, getDefaultParameterResolver, getListenerBuilder, realizeBackingMapManager, realizeCache, realizeMap, setListenerBuilder
-
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractServiceScheme
ensureService, getDefaultServiceName, getScopedServiceName, getScopeName, getServiceBuilder, getServiceDependencies, getServiceName, getXml, injectScopeNameIntoService, isAutoStart, realizeService, setAutoStart, setScopeName, setServiceDependencies, setServiceName, setXml
-
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractScheme
getSchemeName, isAnonymous, setSchemeName, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tangosol.coherence.config.scheme.Scheme
getSchemeName, isAnonymous
-
Methods inherited from interface com.tangosol.coherence.config.scheme.ServiceScheme
getScopedServiceName, getServiceBuilder, getServiceName, isAutoStart
-
-
-
-
Method Detail
-
getFrontScheme
public CachingScheme getFrontScheme()
Return the front scheme.- Returns:
- the front scheme
-
setFrontScheme
public void setFrontScheme(CachingScheme scheme)
Set the front scheme.- Parameters:
scheme
- the front scheme
-
getBackScheme
public CachingScheme getBackScheme()
Return the back scheme.- Returns:
- the back scheme
-
setBackScheme
public void setBackScheme(CachingScheme scheme)
Set the back scheme.- Parameters:
scheme
- the back scheme
-
validate
protected void validate(ParameterResolver resolver)
Validate the properties.- Overrides:
validate
in classAbstractCachingScheme
- Parameters:
resolver
- the ParameterResolver needed to resolve expressions
-
-