VMware GemFire Native C++ Reference  10.1.5
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 
29 namespace apache {
30 namespace geode {
31 namespace client {
32 
39 class 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_
apache::geode::client::CqServiceStatistics::numCqsCreated
virtual uint32_t numCqsCreated() const =0
Get the total number of CQs created.
apache::geode::client::CqServiceStatistics::numCqsActive
virtual uint32_t numCqsActive() const =0
Get the number of CQs currently active.
apache::geode::client::CqServiceStatistics::numCqsOnClient
virtual uint32_t numCqsOnClient() const =0
Get number of CQs that are currently active or stopped.
apache::geode::client::CqServiceStatistics::numCqsStopped
virtual uint32_t numCqsStopped() const =0
Get the number of stopped CQs currently.
apache::geode::client::CqServiceStatistics::numCqsClosed
virtual uint32_t numCqsClosed() const =0
Get the total number of closed CQs.
apache::geode::client::CqServiceStatistics
This class provides methods to get aggregate statistical information about the CQs of a client.
Definition: CqServiceStatistics.hpp:39

Apache Geode C++ Cache API Documentation