Class AbstractLocalCachingScheme<T>
- 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>
-
- 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>
TheAbstractLocalCachingSchemeis 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_serviceDependencies
-
Fields inherited from interface com.tangosol.coherence.config.scheme.ServiceScheme
DELIM_APPLICATION_SCOPE, DELIM_DOMAIN_PARTITION
-
-
Constructor Summary
Constructors Constructor Description AbstractLocalCachingScheme()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterizedBuilder<T>getCustomBuilder()Obtains the customParameterizedBuilder.List<NamedEventInterceptorBuilder>getEventInterceptorBuilders()StringgetServiceType()Return the service type.booleanisRunningClusterNeeded()Return true if a running cluster is needed before using a service.voidsetCustomBuilder(ParameterizedBuilder<T> bldr)Sets theParameterizedBuilderto be used as the alternate builder.-
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractCachingScheme
establishMapListeners, getDefaultParameterResolver, getListenerBuilder, realizeBackingMapManager, realizeCache, realizeMap, setListenerBuilder, validate
-
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractServiceScheme
ensureService, getDefaultServiceName, getScopedServiceName, getScopeName, getServiceBuilder, getServiceDependencies, getServiceName, getXml, injectScopeNameIntoService, isAutoStart, realizeService, 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
getScopedServiceName, getServiceBuilder, getServiceName, isAutoStart
-
-
-
-
Method Detail
-
getServiceType
public String getServiceType()
Return the service type.- Specified by:
getServiceTypein interfaceServiceScheme- Returns:
- the service type
-
getEventInterceptorBuilders
public List<NamedEventInterceptorBuilder> 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
public ParameterizedBuilder<T> getCustomBuilder()
Obtains the customParameterizedBuilder.- Specified by:
getCustomBuilderin interfaceBuilderCustomization<T>- Returns:
- the
ParameterizedBuilder
-
setCustomBuilder
public void setCustomBuilder(ParameterizedBuilder<T> bldr)
Sets theParameterizedBuilderto be used as the alternate builder.- Specified by:
setCustomBuilderin interfaceBuilderCustomization<T>- Parameters:
bldr- the ParameterizedBuilder
-
-