Class ContinuousQueryCacheScheme
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
com.tangosol.coherence.config.scheme.ContinuousQueryCacheScheme
- All Implemented Interfaces:
BackingMapManagerBuilder,BuilderCustomization,MapBuilder,NamedCacheBuilder,ServiceBuilder,CachingScheme,ObservableCachingScheme,Scheme,ServiceScheme
This scheme is internally used to provide the
ParameterizedBuilder that constructs the view-filter
for the ViewScheme.- Since:
- 12.2.1.4
- Author:
- rlubke
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tangosol.coherence.config.builder.MapBuilder
MapBuilder.Dependencies -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longThe reconnect interval to pass to theContinuousQueryCache.protected booleanThe read-only flag to pass to theContinuousQueryCache.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 TypeMethodDescriptionReturn theParameterizedBuilderused to construct theFilterto be used by theContinuousQueryCache.longReturn theParameterizedBuilderused to construct theValueExtractorto be used as a transformer by theContinuousQueryCache.booleanvoidsetFilterBuilder(ParameterizedBuilder<Filter> filterBuilder) voidsetReadOnly(boolean fReadOnly) voidsetReconnectInterval(long ldtReconnectInterval) voidsetTransformerBuilder(ParameterizedBuilder<ValueExtractor> transformerBuilder) Set theParameterizedBuilderused to construct theValueExtractorto be used as a transformer by theContinuousQueryCache.Methods inherited from class com.tangosol.coherence.config.scheme.AbstractLocalCachingScheme
getCustomBuilder, getEventInterceptorBuilders, getServiceType, isRunningClusterNeeded, setCustomBuilderMethods 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
getNamedCollectionBuilder, getScopedServiceName, getScopedServiceNameForProperty, getServiceBuilder, getServiceName, isAutoStart
-
Field Details
-
m_cReconnectMillis
protected long m_cReconnectMillisThe reconnect interval to pass to theContinuousQueryCache. -
m_fReadOnly
protected boolean m_fReadOnlyThe read-only flag to pass to theContinuousQueryCache.
-
-
Constructor Details
-
ContinuousQueryCacheScheme
public ContinuousQueryCacheScheme()
-
-
Method Details
-
setFilterBuilder
- Parameters:
filterBuilder- theParameterizedBuilderused to construct theValueExtractorto be used as a transformer by theContinuousQueryCache
-
getFilterBuilder
Return theParameterizedBuilderused to construct theFilterto be used by theContinuousQueryCache.- Returns:
- the
ParameterizedBuilderused to construct theFilterto be used by theContinuousQueryCache
-
setTransformerBuilder
@Injectable("transformer") public void setTransformerBuilder(ParameterizedBuilder<ValueExtractor> transformerBuilder) Set theParameterizedBuilderused to construct theValueExtractorto be used as a transformer by theContinuousQueryCache.- Parameters:
transformerBuilder- theParameterizedBuilderused to construct theValueExtractorto be used as a transformer by theContinuousQueryCache
-
getTransformerBuilder
Return theParameterizedBuilderused to construct theValueExtractorto be used as a transformer by theContinuousQueryCache.- Returns:
- the
ParameterizedBuilderused to construct theValueExtractorto be used as a transformer by theContinuousQueryCache.
-
setReconnectInterval
- Parameters:
ldtReconnectInterval- reconnect interval in milliseconds
-
getReconnectInterval
public long getReconnectInterval()- Returns:
- reconnect interval in milliseconds
-
setReadOnly
- Parameters:
fReadOnly- pass true to prohibit clients from making modifications to this cache
-
isReadOnly
public boolean isReadOnly()- Returns:
- true if this ContinuousQueryCache has been configured as read-only
-