build-artifacts/win/product/include/gfcpp/CacheStatistics.hpp

Go to the documentation of this file.
00001 #ifndef __GEMFIRE_CACHESTATISTICS_H__
00002 #define __GEMFIRE_CACHESTATISTICS_H__
00003 /*=========================================================================
00004  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
00005  * This product is protected by U.S. and international copyright
00006  * and intellectual property laws. Pivotal products are covered by
00007  * more patents listed at http://www.pivotal.io/patents.
00008  *========================================================================
00009  */
00010 
00011 #include "gfcpp_globals.hpp"
00012 #include "gf_types.hpp"
00017 namespace gemfire {
00018 
00019   class LocalRegion;
00020 
00031 class CPPCACHE_EXPORT CacheStatistics: public SharedBase
00032 {
00033 public:
00034 
00035   CacheStatistics();
00036 
00037   virtual ~CacheStatistics();
00038 
00062   virtual uint32_t getLastModifiedTime() const;
00063 
00083   virtual uint32_t getLastAccessedTime() const;
00084 
00085 private:
00086 
00087   virtual void setLastAccessedTime(uint32_t lat);
00088   virtual void setLastModifiedTime(uint32_t lmt);
00089 
00090   volatile uint32_t m_lastAccessTime;
00091   volatile uint32_t m_lastModifiedTime;
00092 
00093   friend class LocalRegion;
00094 };
00095 
00096 } //namespace gemfire
00097 #endif //ifndef __GEMFIRE_CACHESTATISTICS_H__

GemFire C++ Cache API Documentation