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
Modifier and TypeFieldDescriptionprotected long
The reconnect interval to pass to theContinuousQueryCache
.protected boolean
The 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
-
Method Summary
Modifier and TypeMethodDescriptionReturn theParameterizedBuilder
used to construct theFilter
to be used by theContinuousQueryCache
.long
Return theParameterizedBuilder
used to construct theValueExtractor
to be used as a transformer by theContinuousQueryCache
.boolean
void
setFilterBuilder
(ParameterizedBuilder<Filter> filterBuilder) void
setReadOnly
(boolean fReadOnly) void
setReconnectInterval
(long ldtReconnectInterval) void
setTransformerBuilder
(ParameterizedBuilder<ValueExtractor> transformerBuilder) Set theParameterizedBuilder
used to construct theValueExtractor
to 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 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
- theParameterizedBuilder
used to construct theValueExtractor
to be used as a transformer by theContinuousQueryCache
-
getFilterBuilder
Return theParameterizedBuilder
used to construct theFilter
to be used by theContinuousQueryCache
.- Returns:
- the
ParameterizedBuilder
used to construct theFilter
to be used by theContinuousQueryCache
-
setTransformerBuilder
@Injectable("transformer") public void setTransformerBuilder(ParameterizedBuilder<ValueExtractor> transformerBuilder) Set theParameterizedBuilder
used to construct theValueExtractor
to be used as a transformer by theContinuousQueryCache
.- Parameters:
transformerBuilder
- theParameterizedBuilder
used to construct theValueExtractor
to be used as a transformer by theContinuousQueryCache
-
getTransformerBuilder
Return theParameterizedBuilder
used to construct theValueExtractor
to be used as a transformer by theContinuousQueryCache
.- Returns:
- the
ParameterizedBuilder
used to construct theValueExtractor
to 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
-