Pivotal GemFire Native Client Cache Reference  9.0.6
CacheLoader.hpp
Go to the documentation of this file.
1 #ifndef __GEMFIRE_CACHELOADER_H__
2 #define __GEMFIRE_CACHELOADER_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 
15 #include "gfcpp_globals.hpp"
16 #include "gf_types.hpp"
17 #include "CacheableKey.hpp"
18 #include "Cacheable.hpp"
19 #include "UserData.hpp"
20 
21 
22 namespace gemfire {
23 
44 : public SharedBase
45 {
46 public:
60  virtual CacheablePtr load(const RegionPtr& rp,
61  const CacheableKeyPtr& key,
62  const UserDataPtr& aCallbackArgument) = 0;
63 
79  virtual void close( const RegionPtr& rp );
80 
81  virtual ~CacheLoader( );
82 
83  protected:
84 
85  CacheLoader( );
86 
87  protected:
88  // never implemented.
89  CacheLoader( const CacheLoader& other );
90  void operator = ( const CacheLoader& other );
91 
92 };
93 
94 } //namespace
95 #endif //ifndef __GEMFIRE_CACHELOADER_H__
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 application plug-in that can be installed on a region.
Definition: CacheLoader.hpp:43
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:35

GemFire C++ Cache API Documentation