Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-406

ContinuousQuery example code uses deprecated API.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JDG 7.0.0 ER9
    • JDG 7.0.0 DR1
    • Documentation
    • None

      In the JDG 7 Developer Guide, page 193, example 16.30, the example code registers the ContinuousQueryListener on the ClientEvents. This is however a deprecated API. See:

      The new API for ContinuousQueryListener registration is the show below:

      ContinuousQuery<Integer, Person> cq = Search.getContinuousQuery(cache);
      cq.addContinuousQueryListener(query, listener);
      

            rhn-support-chuffman Christian Huffman
            rhn-gps-ddoyle Duncan Doyle (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: