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 theParameterizedBuilder
that constructs theview-filter
for 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 long
m_cReconnectMillis
The reconnect interval to pass to theContinuousQueryCache
.protected boolean
m_fReadOnly
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
Constructors Constructor Description ContinuousQueryCacheScheme()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterizedBuilder<Filter>
getFilterBuilder()
Return theParameterizedBuilder
used to construct theFilter
to be used by theContinuousQueryCache
.long
getReconnectInterval()
ParameterizedBuilder<ValueExtractor>
getTransformerBuilder()
Return theParameterizedBuilder
used to construct theValueExtractor
to be used as a transformer by theContinuousQueryCache
.boolean
isReadOnly()
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 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
- theParameterizedBuilder
used to construct theValueExtractor
to be used as a transformer by theContinuousQueryCache
-
getFilterBuilder
public ParameterizedBuilder<Filter> 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
public ParameterizedBuilder<ValueExtractor> 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
@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
-
-