Pivotal GemFire Native Client Cache Reference  9.0.6
CacheAttributesFactory.hpp
Go to the documentation of this file.
1 #ifndef __GEMFIRE_CACHEATTRIBUTESFACTORY_H__
2 #define __GEMFIRE_CACHEATTRIBUTESFACTORY_H__
3 
4 /*=========================================================================
5  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
6  * This product is protected by U.S. and international copyright
7  * and intellectual property laws. Pivotal products are covered by
8  * more patents listed at http://www.pivotal.io/patents.
9  *========================================================================
10  */
11 
12 #include "gfcpp_globals.hpp"
13 #include "ExceptionTypes.hpp"
14 #include "CacheAttributes.hpp"
15 
16 
22 namespace gemfire
23 {
24 
31  {
35  public:
36 
43 
47  virtual ~CacheAttributesFactory();
48 
49  // ATTRIBUTES
50 
57  void setRedundancyLevel(int redundancyLevel);
58 
63  void setEndpoints(const char* endPoints);
64 
65  // FACTORY METHOD
66 
73  CacheAttributesPtr createCacheAttributes();
74 
75 
76  private:
77 
78  CacheAttributesPtr m_cacheAttributes;
79 
80  // Never implemented
81  CacheAttributesFactory(const CacheAttributesPtr& cacheAttributes);
82  };
83 
84 } //namespace gemfire
85 
86 
87 #endif //ifndef __GEMFIRE_CACHEATTRIBUTESFACTORY_H__
Creates instances of CacheAttributes.
Definition: CacheAttributesFactory.hpp:30
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

GemFire C++ Cache API Documentation