CqStatusListener (Apache Geode 1.15.4)

org.apache.geode.cache.query

## Interface CqStatusListener

- All Superinterfaces:
    CacheCallback, CqListener, Declarable

      public interface CqStatusListener
      extends CqListener

  Extension of CqListener. Adds two new methods to CqListener, one that is called when the cq is connected and one that is called when the cq is disconnected
  Since:
    GemFire 7.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onCqConnected()` Called when the cq establishes a connection with a server
    `void` | `onCqDisconnected()` Called when the cq loses connection with all servers

    - ### Methods inherited from interface org.apache.geode.cache.query.CqListener

      `onError, onEvent`

    - ### Methods inherited from interface org.apache.geode.cache.CacheCallback

      `close`

    - ### Methods inherited from interface org.apache.geode.cache.Declarable

      `init, initialize`

- - ### Method Detail

    - #### onCqDisconnected

          void onCqDisconnected()

      Called when the cq loses connection with all servers

    - #### onCqConnected

          void onCqConnected()

      Called when the cq establishes a connection with a server