VMware Tanzu GemFire Native C++ Reference 10.2.7
CqServiceStatistics.hpp
Go to the documentation of this file.
1#pragma once
2
3#ifndef GEODE_CQSERVICESTATISTICS_H_
4#define GEODE_CQSERVICESTATISTICS_H_
5
6/*
7 * Licensed to the Apache Software Foundation (ASF) under one or more
8 * contributor license agreements. See the NOTICE file distributed with
9 * this work for additional information regarding copyright ownership.
10 * The ASF licenses this file to You under the Apache License, Version 2.0
11 * (the "License"); you may not use this file except in compliance with
12 * the License. You may obtain a copy of the License at
13 *
14 * http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 */
22
23#include "internal/geode_globals.hpp"
24
29namespace apache {
30namespace geode {
31namespace client {
32
39class APACHE_GEODE_EXPORT CqServiceStatistics {
40 public:
46 virtual uint32_t numCqsActive() const = 0;
47
52 virtual uint32_t numCqsCreated() const = 0;
53
58 virtual uint32_t numCqsClosed() const = 0;
59
64 virtual uint32_t numCqsStopped() const = 0;
65
72 virtual uint32_t numCqsOnClient() const = 0;
73};
74} // namespace client
75} // namespace geode
76} // namespace apache
77
78#endif // GEODE_CQSERVICESTATISTICS_H_
This class provides methods to get aggregate statistical information about the CQs of a client.
Definition: CqServiceStatistics.hpp:39
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