Class AbstractLocalCachingScheme<T>
java.lang.Object
com.tangosol.coherence.config.scheme.AbstractScheme
com.tangosol.coherence.config.scheme.AbstractServiceScheme
com.tangosol.coherence.config.scheme.AbstractCachingScheme
com.tangosol.coherence.config.scheme.AbstractLocalCachingScheme<T>
- All Implemented Interfaces:
BackingMapManagerBuilder,BuilderCustomization<T>,MapBuilder,NamedCacheBuilder,ServiceBuilder,CachingScheme,ObservableCachingScheme,Scheme,ServiceScheme
- Direct Known Subclasses:
AbstractCompositeScheme,AbstractJournalScheme,BackingMapScheme,CaffeineScheme,ClassScheme,ContinuousQueryCacheScheme,CustomScheme,ExternalScheme,LocalScheme,PagedExternalScheme,ReadWriteBackingMapScheme
public abstract class AbstractLocalCachingScheme<T>
extends AbstractCachingScheme
implements BuilderCustomization<T>
The
AbstractLocalCachingScheme is provides common functionality
for local caching schemes, including local-scheme, external-scheme, etc.- Since:
- Coherence 12.1.2
- Author:
- pfm 2011.12.28
-
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 TypeMethodDescriptionObtains the customParameterizedBuilder.Return the service type.booleanReturn true if a running cluster is needed before using a service.voidSets theParameterizedBuilderto be used as the alternate builder.Methods inherited from class com.tangosol.coherence.config.scheme.AbstractCachingScheme
establishMapListeners, getDefaultParameterResolver, getListenerBuilder, realizeBackingMapManager, realizeCache, realizeMap, setListenerBuilder, validateMethods inherited from class com.tangosol.coherence.config.scheme.AbstractServiceScheme
ensureService, getDefaultServiceName, getScopedServiceName, getScopeName, getServiceBuilder, getServiceDependencies, getServiceName, getXml, injectScopeNameIntoService, isAutoStart, realizeService, 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
getScopedServiceName, getServiceBuilder, getServiceName, isAutoStart
-
Constructor Details
-
AbstractLocalCachingScheme
public AbstractLocalCachingScheme()
-
-
Method Details
-
getServiceType
Return the service type.- Specified by:
getServiceTypein interfaceServiceScheme- Returns:
- the service type
-
getEventInterceptorBuilders
Obtains theListofNamedEventInterceptorBuilders that have been defined for theServiceScheme.Note: For those
ServiceSchemes don't support event interceptors, the returned value must be an empty list.- Specified by:
getEventInterceptorBuildersin interfaceServiceScheme- Overrides:
getEventInterceptorBuildersin classAbstractServiceScheme- Returns:
- an
ListoverNamedEventInterceptorBuilders
-
isRunningClusterNeeded
public boolean isRunningClusterNeeded()Return true if a running cluster is needed before using a service.- Specified by:
isRunningClusterNeededin interfaceServiceBuilder- Specified by:
isRunningClusterNeededin classAbstractServiceScheme- Returns:
trueif a running cluster is needed before using a service
-
getCustomBuilder
Obtains the customParameterizedBuilder.- Specified by:
getCustomBuilderin interfaceBuilderCustomization<T>- Returns:
- the
ParameterizedBuilder
-
setCustomBuilder
Sets theParameterizedBuilderto be used as the alternate builder.- Specified by:
setCustomBuilderin interfaceBuilderCustomization<T>- Parameters:
bldr- the ParameterizedBuilder
-