VMware GemFire Native C++ Reference  9.1
GeodeCache.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef GEODE_GEMFIRECACHE_H_
4 #define GEODE_GEMFIRECACHE_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 "RegionService.hpp"
26 
31 namespace apache {
32 namespace geode {
33 namespace client {
34 
51  public:
55  virtual const char* getName() const = 0;
56 
63  virtual void initializeDeclarativeCache(const char* cacheXml) = 0;
64 
69  virtual DistributedSystemPtr getDistributedSystem() const = 0;
70 
74  virtual bool getPdxIgnoreUnreadFields() = 0;
75 
80  virtual bool getPdxReadSerialized() = 0;
81 };
82 } // namespace client
83 } // namespace geode
84 } // namespace apache
85 
86 #endif // GEODE_GEMFIRECACHE_H_
Each enum represents a predefined RegionAttributes in a Cache.
Definition: Assert.hpp:31
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
A RegionService provides access to existing regions that exist in a Geode cache.
Definition: RegionService.hpp:60
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:52
This namespace contains all the Geode C++ API classes, enumerations and globals.
GeodeCache represents the singleton cache that must be created in order to connect to Geode server...
Definition: GeodeCache.hpp:47

Pivotal GemFire C++ Cache API Documentation