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_serviceDependencies
Fields inherited from interface com.tangosol.coherence.config.scheme.ServiceScheme
DELIM_APPLICATION_SCOPE, DELIM_DOMAIN_PARTITION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the service name with any scoping applied.protected com.tangosol.net.internal.ScopedServiceReferenceStore
getServiceStore
(Cluster cluster) Obtain theScopedServiceReferenceStore
from the providedCluster
.Return the service type.Realize aBackingMapManager
to 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, validate
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractLocalCachingScheme
getCustomBuilder, getEventInterceptorBuilders, isRunningClusterNeeded, setCustomBuilder
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractCachingScheme
establishMapListeners, getDefaultParameterResolver, getListenerBuilder, realizeCache, realizeMap, setListenerBuilder
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractServiceScheme
ensureService, getDefaultServiceName, getScopeName, getServiceBuilder, getServiceDependencies, getServiceName, getXml, injectScopeNameIntoService, isAutoStart, 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
getServiceBuilder, getServiceName, isAutoStart
-
Constructor Details
-
ViewScheme
public ViewScheme()Construct a ViewScheme.
-
-
Method Details
-
getScopedServiceName
Description copied from class:AbstractServiceScheme
Return 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:
getScopedServiceName
in interfaceServiceScheme
- Overrides:
getScopedServiceName
in classAbstractServiceScheme
- Returns:
- the scoped service name
-
realizeService
Description copied from class:AbstractServiceScheme
Realize (ensure) a Service. The returned Service is fully configured and ready to be used.- Specified by:
realizeService
in interfaceServiceBuilder
- Overrides:
realizeService
in classAbstractServiceScheme
- Parameters:
resolver
- the ParameterResolverloader
- the ClassLoadercluster
- the Cluster which will already be running if necessary- Returns:
- the Service
-
realizeBackingMapManager
Description copied from class:AbstractCachingScheme
Realize aBackingMapManager
to be scoped by the specifiedConfigurableCacheFactory
.- Specified by:
realizeBackingMapManager
in interfaceBackingMapManagerBuilder
- Overrides:
realizeBackingMapManager
in classAbstractCachingScheme
- Parameters:
ccf
- theConfigurableCacheFactory
- Returns:
- a
BackingMapManager
-
getServiceType
Description copied from class:AbstractLocalCachingScheme
Return the service type.- Specified by:
getServiceType
in interfaceServiceScheme
- Overrides:
getServiceType
in classAbstractLocalCachingScheme<ContinuousQueryCache>
- Returns:
- the service type
-
getServiceStore
Obtain theScopedServiceReferenceStore
from the providedCluster
.
-