VMware GemFire Native C++ Reference
9.1
|
Manages creation and access to connection pools for clients. More...
Static Public Member Functions | |
static void | close (bool keepAlive=false) |
Unconditionally destroys all created pools that are in this manager. More... | |
static PoolFactoryPtr | createFactory () |
Creates a new pool factory, which is used to configure and create new Pools. More... | |
static PoolPtr | find (const char *name) |
Find by name an existing connection pool returning the existing pool or NULLPTR if it does not exist. More... | |
static PoolPtr | find (RegionPtr region) |
Find the pool used by the given region. More... | |
static const HashMapOfPools & | getAll () |
Returns a map containing all the pools in this manager. More... | |
Manages creation and access to connection pools for clients.
To create a pool get a factory by calling createFactory.
To find an existing pool by name call find.
To get rid of all created pools call close.
|
static |
Unconditionally destroys all created pools that are in this manager.
keepAlive | defines whether the server should keep the durable client's subscriptions alive for the durable-client-timeout . |
durable-client-timeout
.
|
static |
Creates a new pool factory, which is used to configure and create new Pools.
|
static |
Find by name an existing connection pool returning the existing pool or NULLPTR
if it does not exist.
name | is the name of the connection pool |
NULLPTR
if it does not exist. Find the pool used by the given region.
region | is the region that is using the pool. |
NULLPTR
if the region does not have a pool.
|
static |
Returns a map containing all the pools in this manager.
The keys are pool names and the values are Pool instances.
The map contains the pools that this manager knows of at the time of this call. The map is free to be changed without affecting this manager.