E:/gfcppsancout/product/include/gfcpp/CacheStatistics.hpp

Go to the documentation of this file.
00001 #ifndef __GEMFIRE_CACHESTATISTICS_H__
00002 #define __GEMFIRE_CACHESTATISTICS_H__
00003 /*=========================================================================
00004  * (c) Copyright 2002-2007, GemStone Systems, Inc. All Rights Reserved.
00005  * 1260 NW Waterhouse Ave., Suite 200,  Beaverton, OR 97006
00006  *========================================================================
00007  */
00008 
00009 #include "gfcpp_globals.hpp"
00010 #include "gf_types.hpp"
00015 namespace gemfire {
00016 
00017   class LocalRegion;
00018 
00029 class CPPCACHE_EXPORT CacheStatistics: public SharedBase
00030 {
00031 public:
00032 
00033   CacheStatistics();
00034 
00035   virtual ~CacheStatistics();
00036 
00060   virtual uint32_t getLastModifiedTime() const;
00061 
00081   virtual uint32_t getLastAccessedTime() const;
00082 
00083 private:
00084 
00085   virtual void setLastAccessedTime(uint32_t lat);
00086   virtual void setLastModifiedTime(uint32_t lmt);
00087 
00088   volatile uint32_t m_lastAccessTime;
00089   volatile uint32_t m_lastModifiedTime;
00090 
00091   friend class LocalRegion;
00092 };
00093 
00094 } //namespace gemfire
00095 #endif //ifndef __GEMFIRE_CACHESTATISTICS_H__

GemFire C++ Cache API Documentation