Annotation Interface EnableContinuousQueries
@Target(TYPE)
@Retention(RUNTIME)
@Inherited
@Documented
@Import(ContinuousQueryConfiguration.class)
public @interface EnableContinuousQueries
The
EnableContinuousQueries
annotation marks a Spring @Configuration
annotated
application configuration class to enable Pivotal GemFire / Apache Geode Continuous Queries (CQ) feature.- Since:
- See Also:
-
Documented
Inherited
Retention
Target
Executor
Pool
QueryService
Configuration
Import
ContinuousQueryConfiguration
ContinuousQueryListenerContainer
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionRefers to thename
of the declaredErrorHandler
bean that will handle errors thrown during CQ event processing by CQ listeners.int
Defines the Spring container lifecycle phase in which the SDGContinuousQueryListenerContainer
will be started on auto-start.Refers to the name of thePool
over which CQs are registered and CQ events are received.Refers to the name of theQueryService
bean used to define CQs.Refers to the name of theExecutor
bean used to process CQ events asynchronously.
-
Element Details
-
errorHandlerBeanName
String errorHandlerBeanNameRefers to thename
of the declaredErrorHandler
bean that will handle errors thrown during CQ event processing by CQ listeners. Defaults to unset.- Default:
- ""
-
phase
int phaseDefines the Spring container lifecycle phase in which the SDGContinuousQueryListenerContainer
will be started on auto-start. Defaults to 0.- Default:
- 0
-
poolName
String poolNameRefers to the name of thePool
over which CQs are registered and CQ events are received. Defaults to unset.- Default:
- ""
-
queryServiceBeanName
String queryServiceBeanNameRefers to the name of theQueryService
bean used to define CQs. Defaults to unset.- Default:
- ""
-
taskExecutorBeanName
String taskExecutorBeanNameRefers to the name of theExecutor
bean used to process CQ events asynchronously. Defaults to unset.- Default:
- ""
-