VMware GemFire Native Client Cache Reference  9.0.6
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
CacheWriter.hpp
Go to the documentation of this file.
1 #ifndef __GEMFIRE_CACHEWRITER_H__
2 #define __GEMFIRE_CACHEWRITER_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 
19 namespace gemfire {
20 
21 class EntryEvent;
22 class RegionEvent;
70 : public SharedBase
71 {
72 
73 public:
74 
75 
90  virtual bool beforeUpdate( const EntryEvent& event );
91 
105  virtual bool beforeCreate( const EntryEvent& event );
106 
107 
117  virtual bool beforeDestroy( const EntryEvent& event );
118 
119 
120  /*@brief called before this region is cleared
121  * @param event EntryEvent denotes the event object associated with clearing the region
122  *
123  * @see Region::clear
124  */
125  virtual bool beforeRegionClear( const RegionEvent& event );
126 
127  /*@brief called before this region is destroyed
128  * @param event EntryEvent denotes the event object associated with destroying the region
129  *
130  * @see Region::destroyRegion
131  */
132  virtual bool beforeRegionDestroy( const RegionEvent& event );
133 
147  virtual void close( const RegionPtr& rp );
148 
149  virtual ~CacheWriter();
150 
151 protected:
152 
153  CacheWriter();
154 
155 private:
156 
157  // never implemented.
158  CacheWriter(const CacheWriter& other);
159  void operator = ( const CacheWriter& other );
160 
161 };
162 
163 } //namespace gemfire
164 
165 #endif
166 
Represents an entry event affecting an entry, including its identity and the the circumstances of the...
Definition: EntryEvent.hpp:22
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
Declares region events.
Definition: RegionEvent.hpp:24
#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 application plug-in that can be installed on the region.
Definition: CacheWriter.hpp:69

GemFire C++ Cache API Documentation