build-artifacts/win/product/include/gfcpp/CacheAttributesFactory.hpp

Go to the documentation of this file.
00001 #ifndef __GEMFIRE_CACHEATTRIBUTESFACTORY_H__
00002 #define __GEMFIRE_CACHEATTRIBUTESFACTORY_H__
00003 
00004 /*=========================================================================
00005  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
00006  * This product is protected by U.S. and international copyright
00007  * and intellectual property laws. Pivotal products are covered by
00008  * more patents listed at http://www.pivotal.io/patents.
00009  *========================================================================
00010  */
00011 
00012 #include "gfcpp_globals.hpp"
00013 #include "ExceptionTypes.hpp"
00014 #include "CacheAttributes.hpp"
00015 
00016 
00022 namespace gemfire
00023 {
00024 
00030   class CPPCACHE_EXPORT CacheAttributesFactory
00031   {
00035     public:
00036 
00042       CacheAttributesFactory();
00043 
00047       virtual ~CacheAttributesFactory();
00048 
00049       // ATTRIBUTES
00050 
00057       void setRedundancyLevel(int redundancyLevel);
00058 
00063       void setEndpoints(const char* endPoints);
00064 
00065       // FACTORY METHOD
00066 
00073       CacheAttributesPtr createCacheAttributes();
00074 
00075 
00076     private:
00077 
00078       CacheAttributesPtr m_cacheAttributes;
00079 
00080       // Never implemented
00081       CacheAttributesFactory(const CacheAttributesPtr& cacheAttributes);
00082   };
00083 
00084 } //namespace gemfire
00085 
00086 
00087 #endif //ifndef __GEMFIRE_CACHEATTRIBUTESFACTORY_H__

GemFire C++ Cache API Documentation