Class ViewScheme
- 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<ContinuousQueryCache>
-
- com.tangosol.coherence.config.scheme.ViewScheme
-
- All Implemented Interfaces:
BackingMapManagerBuilder,BuilderCustomization<ContinuousQueryCache>,MapBuilder,NamedCacheBuilder,ServiceBuilder,CachingScheme,ObservableCachingScheme,Scheme,ServiceScheme
public class ViewScheme extends AbstractCompositeScheme<ContinuousQueryCache>
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
Constructors Constructor Description ViewScheme()Construct a ViewScheme.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetScopedServiceName()Return the service name with any scoping applied.protected com.tangosol.net.internal.ScopedServiceReferenceStoregetServiceStore(Cluster cluster)Obtain theScopedServiceReferenceStorefrom the providedCluster.StringgetServiceType()Return the service type.BackingMapManagerrealizeBackingMapManager(ConfigurableCacheFactory ccf)Realize aBackingMapManagerto be scoped by the specifiedConfigurableCacheFactory.ServicerealizeService(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
-
-
-
-
Method Detail
-
getScopedServiceName
public String 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
public Service realizeService(ParameterResolver resolver, ClassLoader loader, Cluster cluster)
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
public BackingMapManager realizeBackingMapManager(ConfigurableCacheFactory ccf)
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
public String getServiceType()
Description copied from class:AbstractLocalCachingSchemeReturn the service type.- Specified by:
getServiceTypein interfaceServiceScheme- Overrides:
getServiceTypein classAbstractLocalCachingScheme<ContinuousQueryCache>- Returns:
- the service type
-
-