Pivotal GemFire Native Client Cache Reference  9.0.6
PoolManager.hpp
1 #ifndef __GEMFIRE_POOL_MANAGER_HPP__
2 #define __GEMFIRE_POOL_MANAGER_HPP__
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 #include "gfcpp_globals.hpp"
12 #include "gf_types.hpp"
13 #include "Pool.hpp"
14 #include "PoolFactory.hpp"
15 #include "Region.hpp"
16 
17 namespace gemfire {
18 
19 typedef HashMapT< CacheableStringPtr, PoolPtr > HashMapOfPools;
20 
33 public:
34 
40  static PoolFactoryPtr createFactory();
41 
50  static const HashMapOfPools& getAll();
51 
58  static PoolPtr find(const char* name);
59 
66  static PoolPtr find(RegionPtr region);
67 
73  static void close(bool keepAlive = false);
74 
75 private:
76  PoolManager();
77 };
78 
79 }; // Namespace gemfire
80 #endif //__GEMFIRE_POOL_MANAGER_HPP__
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
Manages creation and access to connection pools for clients.
Definition: PoolManager.hpp:32
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51

GemFire C++ Cache API Documentation