Pivotal GemFire Native Client Cache Reference  9.0.6
CacheListener.hpp
Go to the documentation of this file.
1 #ifndef __GEMFIRE_CACHELISTENER_H__
2 #define __GEMFIRE_CACHELISTENER_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 "SharedPtr.hpp"
14 
19 namespace gemfire {
20 
21 class EntryEvent;
22 class RegionEvent;
23 
65 : public SharedBase
66 {
70 public:
71 
75  virtual ~CacheListener();
76 
86  virtual void afterCreate( const EntryEvent& event );
87 
95  virtual void afterUpdate( const EntryEvent& event );
96 
102  virtual void afterInvalidate( const EntryEvent& event );
103 
110  virtual void afterDestroy( const EntryEvent& event );
111 
120  virtual void afterRegionInvalidate( const RegionEvent& event );
121 
130  virtual void afterRegionDestroy( const RegionEvent& event );
131 
140  virtual void afterRegionClear( const RegionEvent& event );
141 
142 
149  virtual void afterRegionLive( const RegionEvent& event );
150 
165  virtual void close( const RegionPtr& region );
173  virtual void afterRegionDisconnected( const RegionPtr& region );
174 protected:
178  CacheListener();
179 
180 private:
181 // never implemented.
182  CacheListener( const CacheListener& other );
183  void operator = (const CacheListener& other );
184 
185 };
186 
187 } //namespace gemfire
188 #endif //ifndef __GEMFIRE_CACHELISTENER_H__
Represents an entry event affecting an entry, including its identity and the the circumstances of the...
Definition: EntryEvent.hpp:22
An application plug-in that can be installed on a region.
Definition: CacheListener.hpp:64
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

GemFire C++ Cache API Documentation