Class ViewScheme
java.lang.Object
- All Implemented Interfaces:
BackingMapManagerBuilder,BuilderCustomization<ContinuousQueryCache>,MapBuilder,NamedCacheBuilder,ServiceBuilder,CachingScheme,ObservableCachingScheme,Scheme,ServiceScheme
A Scheme that realizes both services and caches for Coherence 12.2.1.4 feature
named 'views'.
- Since:
- 12.2.1.4
- Author:
- hr 2019.06.11
-
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_serviceDependenciesFields inherited from interface com.tangosol.coherence.config.scheme.ServiceScheme
DELIM_APPLICATION_SCOPE, DELIM_DOMAIN_PARTITION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the service name with any scoping applied.protected com.tangosol.net.internal.ScopedServiceReferenceStoregetServiceStore(Cluster cluster) Obtain theScopedServiceReferenceStorefrom the providedCluster.Return the service type.Realize aBackingMapManagerto be scoped by the specifiedConfigurableCacheFactory.realizeService(ParameterResolver resolver, ClassLoader loader, Cluster cluster) Realize (ensure) a Service.Methods inherited from class com.tangosol.coherence.config.scheme.AbstractCompositeScheme
getBackScheme, getFrontScheme, setBackScheme, setFrontScheme, validateMethods inherited from class com.tangosol.coherence.config.scheme.AbstractLocalCachingScheme
getCustomBuilder, getEventInterceptorBuilders, isRunningClusterNeeded, setCustomBuilderMethods inherited from class com.tangosol.coherence.config.scheme.AbstractCachingScheme
establishMapListeners, getDefaultParameterResolver, getListenerBuilder, realizeCache, realizeMap, setListenerBuilderMethods inherited from class com.tangosol.coherence.config.scheme.AbstractServiceScheme
ensureService, getDefaultServiceName, getScopeName, getServiceBuilder, getServiceDependencies, getServiceName, getXml, injectScopeNameIntoService, isAutoStart, setAutoStart, setScopeName, setServiceDependencies, setServiceName, setXmlMethods inherited from class com.tangosol.coherence.config.scheme.AbstractScheme
getSchemeName, isAnonymous, setSchemeName, validateMethods 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.Scheme
getSchemeName, isAnonymousMethods inherited from interface com.tangosol.coherence.config.scheme.ServiceScheme
getServiceBuilder, getServiceName, isAutoStart
-
Constructor Details
-
ViewScheme
public ViewScheme()Construct a ViewScheme.
-
-
Method Details
-
getScopedServiceName
Description copied from class:AbstractServiceSchemeReturn 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- Overrides:
getScopedServiceNamein classAbstractServiceScheme- Returns:
- the scoped service name
-
realizeService
Description copied from class:AbstractServiceSchemeRealize (ensure) a Service. The returned Service is fully configured and ready to be used.- Specified by:
realizeServicein interfaceServiceBuilder- Overrides:
realizeServicein classAbstractServiceScheme- Parameters:
resolver- the ParameterResolverloader- the ClassLoadercluster- the Cluster which will already be running if necessary- Returns:
- the Service
-
realizeBackingMapManager
Description copied from class:AbstractCachingSchemeRealize aBackingMapManagerto be scoped by the specifiedConfigurableCacheFactory.- Specified by:
realizeBackingMapManagerin interfaceBackingMapManagerBuilder- Overrides:
realizeBackingMapManagerin classAbstractCachingScheme- Parameters:
ccf- theConfigurableCacheFactory- Returns:
- a
BackingMapManager
-
getServiceType
Description copied from class:AbstractLocalCachingSchemeReturn the service type.- Specified by:
getServiceTypein interfaceServiceScheme- Overrides:
getServiceTypein classAbstractLocalCachingScheme<ContinuousQueryCache>- Returns:
- the service type
-
getServiceStore
Obtain theScopedServiceReferenceStorefrom the providedCluster.
-