Class ContinuousQueryCacheScheme
- 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
-
- com.tangosol.coherence.config.scheme.ContinuousQueryCacheScheme
-
- All Implemented Interfaces:
BackingMapManagerBuilder,BuilderCustomization,MapBuilder,NamedCacheBuilder,ServiceBuilder,CachingScheme,ObservableCachingScheme,Scheme,ServiceScheme
public class ContinuousQueryCacheScheme extends AbstractLocalCachingScheme
This scheme is internally used to provide theParameterizedBuilderthat constructs theview-filterfor theViewScheme.- 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
Fields Modifier and Type Field Description protected longm_cReconnectMillisThe reconnect interval to pass to theContinuousQueryCache.protected booleanm_fReadOnlyThe read-only flag to pass to theContinuousQueryCache.-
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 ContinuousQueryCacheScheme()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterizedBuilder<Filter>getFilterBuilder()Return theParameterizedBuilderused to construct theFilterto be used by theContinuousQueryCache.longgetReconnectInterval()ParameterizedBuilder<ValueExtractor>getTransformerBuilder()Return theParameterizedBuilderused to construct theValueExtractorto be used as a transformer by theContinuousQueryCache.booleanisReadOnly()voidsetFilterBuilder(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, setCustomBuilder
-
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
-
-
-
-
Field Detail
-
m_cReconnectMillis
protected long m_cReconnectMillis
The reconnect interval to pass to theContinuousQueryCache.
-
m_fReadOnly
protected boolean m_fReadOnly
The read-only flag to pass to theContinuousQueryCache.
-
-
Method Detail
-
setFilterBuilder
@Injectable("view-filter") public void setFilterBuilder(ParameterizedBuilder<Filter> filterBuilder)
- Parameters:
filterBuilder- theParameterizedBuilderused to construct theValueExtractorto be used as a transformer by theContinuousQueryCache
-
getFilterBuilder
public ParameterizedBuilder<Filter> 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
public ParameterizedBuilder<ValueExtractor> 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
@Injectable("reconnect-interval") public void setReconnectInterval(long ldtReconnectInterval)
- Parameters:
ldtReconnectInterval- reconnect interval in milliseconds
-
getReconnectInterval
public long getReconnectInterval()
- Returns:
- reconnect interval in milliseconds
-
setReadOnly
@Injectable("read-only") public void setReadOnly(boolean fReadOnly)
- 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
-
-