VMware GemFire Native Client Cache Reference  9.0.6
RegionEntry.hpp
Go to the documentation of this file.
1 #ifndef __GEMFIRE_REGIONENTRY_H__
2 #define __GEMFIRE_REGIONENTRY_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"
13 #include "CacheableKey.hpp"
14 #include "CacheStatistics.hpp"
15 
20 namespace gemfire {
21 
22 
23 class RegionInternal;
24 
39 
40  public:
41 
42 
47  CacheableKeyPtr getKey( );
48 
54  CacheablePtr getValue( );
55 
60  void getRegion(RegionPtr& region ) ;
61 
68  void getStatistics(CacheStatisticsPtr& csptr );
69 
77  bool isDestroyed() const;
81  virtual ~RegionEntry();
82 
83 private:
88  RegionEntry(const RegionPtr& region,
89  const CacheableKeyPtr& key,
90  const CacheablePtr& value);
91  RegionPtr m_region ;
92  CacheableKeyPtr m_key;
93  CacheablePtr m_value;
94  CacheStatisticsPtr m_statistics;
95  bool m_destroyed;
96  friend class RegionInternal;
97 };
98 
99 } //namespace gemfire
100 
101 #endif
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
An object in a Region that represents an entry, i.e., a key-value pair.
Definition: RegionEntry.hpp:38

GemFire C++ Cache API Documentation