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 MapBuilder
MapBuilder.Dependencies -
Field Summary
Fields inherited from class AbstractServiceScheme
m_serviceDependenciesFields inherited from interface ServiceScheme
DELIM_APPLICATION_SCOPE, DELIM_DOMAIN_PARTITION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringDefaultServiceName to use if none configured.Return 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 AbstractCompositeScheme
getBackScheme, getFrontScheme, setBackScheme, setFrontScheme, validateMethods inherited from class AbstractLocalCachingScheme
getCustomBuilder, getEventInterceptorBuilders, isRunningClusterNeeded, setCustomBuilderMethods inherited from class AbstractCachingScheme
establishMapListeners, getDefaultParameterResolver, getListenerBuilder, realizeCache, realizeMap, setListenerBuilderMethods inherited from class AbstractServiceScheme
ensureService, getScopeName, getServiceBuilder, getServiceDependencies, getServiceName, getXml, injectScopeNameIntoService, isAutoStart, setApplicationContext, setAutoStart, setScopeName, setServiceDependencies, setServiceName, setXmlMethods inherited from class AbstractScheme
getSchemeName, isAnonymous, setSchemeName, validateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Scheme
getSchemeName, isAnonymousMethods inherited from interface ServiceScheme
getNamedCollectionBuilder, getScopedServiceNameForProperty, 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
-
getDefaultServiceName
Description copied from class:AbstractServiceSchemeDefaultServiceName to use if none configured.- Overrides:
getDefaultServiceNamein classAbstractServiceScheme- Returns:
- default service name
-
getDefaultBackScheme
-
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
-