VMware GemFire Native C++ Reference  9.2.4
RegionService.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef GEODE_REGIONSERVICE_H_
4 #define GEODE_REGIONSERVICE_H_
5 
6 /*
7  * Licensed to the Apache Software Foundation (ASF) under one or more
8  * contributor license agreements. See the NOTICE file distributed with
9  * this work for additional information regarding copyright ownership.
10  * The ASF licenses this file to You under the Apache License, Version 2.0
11  * (the "License"); you may not use this file except in compliance with
12  * the License. You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  */
22 
23 #include "geode_globals.hpp"
24 #include "geode_types.hpp"
25 #include "VectorT.hpp"
26 
31 namespace apache {
32 namespace geode {
33 namespace client {
34 
35 class Region;
36 class QueryService;
37 
64  public:
73  virtual bool isClosed() const = 0;
74 
85  virtual void close() = 0;
86 
92  virtual RegionPtr getRegion(const char* name) = 0;
93 
98  virtual QueryServicePtr getQueryService() = 0;
99 
108  virtual void rootRegions(VectorOfRegion& regions) = 0;
109 
117  virtual PdxInstanceFactoryPtr createPdxInstanceFactory(
118  const char* className) = 0;
119 };
120 } // namespace client
121 } // namespace geode
122 } // namespace apache
123 
124 #endif // GEODE_REGIONSERVICE_H_
apache::geode::client::RegionService
A RegionService provides access to existing regions that exist in a Geode cache.
Definition: RegionService.hpp:60
apache
Each enum represents a predefined RegionAttributes in a {}.
Definition: Assert.hpp:31
geode_types.hpp
geode
CPPCACHE_EXPORT
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
apache::geode::client::SharedBase
Definition: SharedBase.hpp:40
VectorT.hpp
apache::geode::client::SharedPtr< Region >
apache::geode::client::VectorT
Vector template type class.
Definition: VectorT.hpp:37

Pivotal GemFire C++ Cache API Documentation