CqStatistics (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode.cache.query, interface: CqStatistics

Package org.apache.geode.cache.query

# Interface CqStatistics

public interface CqStatistics
This class provides methods to get statistical information about a registered Continuous Query (CQ) represented by the CqQuery object.

Since:
  GemFire 5.5

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `numDeletes()`
  Get number of Delete events qualified by this CQ.
  `long`
  `numEvents()`
  Get total of all the events qualified by this CQ.
  `long`
  `numInserts()`
  Get number of Insert events qualified by this CQ.
  `long`
  `numUpdates()`
  Get number of Update events qualified by this CQ.

- ## Method Details

  - ### numInserts

    long numInserts()
    Get number of Insert events qualified by this CQ.
    Returns:
      long number of inserts.

  - ### numDeletes

    long numDeletes()
    Get number of Delete events qualified by this CQ.
    Returns:
      long number of deletes.

  - ### numUpdates

    long numUpdates()
    Get number of Update events qualified by this CQ.
    Returns:
      long number of updates.

  - ### numEvents

    long numEvents()
    Get total of all the events qualified by this CQ.
    Returns:
      long total number of events.