Pivotal GemFire Native Client Cache Reference  9.0.6
CacheStatistics.hpp
Go to the documentation of this file.
1 #ifndef __GEMFIRE_CACHESTATISTICS_H__
2 #define __GEMFIRE_CACHESTATISTICS_H__
3 /*=========================================================================
4  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
5  * This product is protected by U.S. and international copyright
6  * and intellectual property laws. Pivotal products are covered by
7  * more patents listed at http://www.pivotal.io/patents.
8  *========================================================================
9  */
10 
11 #include "gfcpp_globals.hpp"
12 #include "gf_types.hpp"
17 namespace gemfire {
18 
19  class LocalRegion;
20 
32 {
33 public:
34 
36 
37  virtual ~CacheStatistics();
38 
62  virtual uint32_t getLastModifiedTime() const;
63 
83  virtual uint32_t getLastAccessedTime() const;
84 
85 private:
86 
87  virtual void setLastAccessedTime(uint32_t lat);
88  virtual void setLastModifiedTime(uint32_t lmt);
89 
90  volatile uint32_t m_lastAccessTime;
91  volatile uint32_t m_lastModifiedTime;
92 
93  friend class LocalRegion;
94 };
95 
96 } //namespace gemfire
97 #endif //ifndef __GEMFIRE_CACHESTATISTICS_H__
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
This abstract base class is the base class of all user objects that have the shared capability of ref...
Definition: SharedBase.hpp:31
Defines common statistical information for both the region and its entries.
Definition: CacheStatistics.hpp:31

GemFire C++ Cache API Documentation