Spring Data for VMware GemFire
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:
-
DocumentedInheritedRetentionTargetExecutorPoolQueryServiceConfigurationImportContinuousQueryConfigurationContinuousQueryListenerContainer
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionRefers to thenameof the declaredErrorHandlerbean that will handle errors thrown during CQ event processing by CQ listeners.intDefines the Spring container lifecycle phase in which the SDGContinuousQueryListenerContainerwill be started on auto-start.Refers to the name of thePoolover which CQs are registered and CQ events are received.Refers to the name of theQueryServicebean used to define CQs.Refers to the name of theExecutorbean used to process CQ events asynchronously.
-
Element Details
-
errorHandlerBeanName
String errorHandlerBeanNameRefers to thenameof the declaredErrorHandlerbean 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 SDGContinuousQueryListenerContainerwill be started on auto-start. Defaults to 0.- Default:
- 0
-
poolName
String poolNameRefers to the name of thePoolover which CQs are registered and CQ events are received. Defaults to unset.- Default:
- ""
-
queryServiceBeanName
String queryServiceBeanNameRefers to the name of theQueryServicebean used to define CQs. Defaults to unset.- Default:
- ""
-
taskExecutorBeanName
String taskExecutorBeanNameRefers to the name of theExecutorbean used to process CQ events asynchronously. Defaults to unset.- Default:
- ""
-