Apache Geode Native C++ Reference 1.15.0
CqServiceStatistics.hpp
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18#pragma once
19
20#ifndef GEODE_CQSERVICESTATISTICS_H_
21#define GEODE_CQSERVICESTATISTICS_H_
22
23#include "internal/geode_globals.hpp"
24
25namespace apache {
26namespace geode {
27namespace client {
28
35class APACHE_GEODE_EXPORT CqServiceStatistics {
36 public:
37 virtual ~CqServiceStatistics() noexcept = default;
38
44 virtual uint32_t numCqsActive() const = 0;
45
50 virtual uint32_t numCqsCreated() const = 0;
51
56 virtual uint32_t numCqsClosed() const = 0;
57
62 virtual uint32_t numCqsStopped() const = 0;
63
70 virtual uint32_t numCqsOnClient() const = 0;
71};
72} // namespace client
73} // namespace geode
74} // namespace apache
75
76#endif // GEODE_CQSERVICESTATISTICS_H_
This class provides methods to get aggregate statistical information about the CQs of a client.
Definition: CqServiceStatistics.hpp:35
virtual uint32_t numCqsOnClient() const =0
Get number of CQs that are currently active or stopped.
virtual uint32_t numCqsClosed() const =0
Get the total number of closed CQs.
virtual uint32_t numCqsCreated() const =0
Get the total number of CQs created.
virtual uint32_t numCqsStopped() const =0
Get the number of stopped CQs currently.
virtual uint32_t numCqsActive() const =0
Get the number of CQs currently active.

Apache Geode C++ Cache API Documentation