Annotation Interface ContinuousQuery


@Target(METHOD) @Retention(RUNTIME) @Inherited @Documented public @interface ContinuousQuery
The ContinuousQuery annotation to define a GemFire/Geode Continuous Query (CQ) on a POJO method which handles all CQ events and errors.
Since:
2.0.0
Author:
John Blum
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Defines the OQL query used by the CQ to determine CQ events.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Determines whether the CQ is durable.
    Name assigned to the registered CQ.
  • Element Details

    • query

      String query
      Defines the OQL query used by the CQ to determine CQ events.
    • durable

      boolean durable
      Determines whether the CQ is durable. Defaults to false.
      Default:
      false
    • name

      String name
      Name assigned to the registered CQ. Defaults to the fully-qualified method name.
      Default:
      ""