blob: 72e9de3638e423901147e1de7a3a13bbc3855169 [file] [log] [blame]
title: Native Client Pool API
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.
The native client API allows your clients to create and manage connection pools. The server side does not have an API.
The primary native client API for pool management is `Apache.Geode.Client.Cache`. For complete information on the classes and interfaces described here, see the API documentation.
- `Pool` interface. API to retrieve pool attributes.
- `PoolFactory` interface. API to configure pool attributes.
- `PoolManager` interface. API to create a `PoolFactory` object and to find the pool objects.
- `AttributesFactory` class. Has a new method `setPoolname` which assigns a pool to a region. Operations performed on the configured region use connections from the pool.
A region can have a pool attached to it. A pool may have multiple regions attached to it.