VMware GemFire Native Client Cache Reference
9.0.6
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
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
30
class
CPPCACHE_EXPORT
CacheAttributesFactory
31
{
35
public
:
36
42
CacheAttributesFactory
();
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__
gemfire::CacheAttributesFactory
Creates instances of CacheAttributes.
Definition:
CacheAttributesFactory.hpp:30
ExceptionTypes.hpp
gemfire
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition:
Assert.hpp:19
CPPCACHE_EXPORT
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition:
gf_base.hpp:51
CacheAttributes.hpp
gemfire::SharedPtr< CacheAttributes >
GemFire C++ Cache API Documentation