VMware Tanzu GemFire Native C++ Reference 10.3.0
|
Creates an authenticated cache view to allow credential based access to region services. More...
#include <AuthenticatedView.hpp>
Inherits apache::geode::client::RegionService.
Public Member Functions | |
void | close () override |
Terminates this object cache and releases all the local resources. More... | |
PdxInstanceFactory | createPdxInstanceFactory (const std::string &className) const override |
Returns a factory that can create a PdxInstance . More... | |
PdxInstanceFactory | createPdxInstanceFactory (const std::string &className, bool expectDomainClass) const override |
Returns a factory that can create a PdxInstance . More... | |
std::shared_ptr< QueryService > | getQueryService () override |
Gets the QueryService from which a new Query can be obtained. More... | |
std::shared_ptr< Region > | getRegion (const std::string &path) const override |
Look up a region with the full path from root. More... | |
bool | isClosed () const override |
public methods More... | |
std::vector< std::shared_ptr< Region > > | rootRegions () const override |
Returns a set of root regions in the cache. More... | |
Creates an authenticated cache view to allow credential based access to region services.
|
overridevirtual |
Terminates this object cache and releases all the local resources.
After this cache is closed, any further method call on this cache or any region object will throw CacheClosedException
, unless otherwise noted.
CacheClosedException,if | the cache is already closed. |
Implements apache::geode::client::RegionService.
|
overridevirtual |
Returns a factory that can create a PdxInstance
.
className | the fully qualified class name that the PdxInstance will become when it is fully deserialized. |
Implements apache::geode::client::RegionService.
|
overridevirtual |
Returns a factory that can create a PdxInstance
.
className | the fully qualified class name that the PdxInstance will become when it is fully deserialized. |
expectDomainClass | Whether or not created PdxType represents a Java domain class. |
Implements apache::geode::client::RegionService.
|
overridevirtual |
Gets the QueryService from which a new Query can be obtained.
Implements apache::geode::client::RegionService.
|
overridevirtual |
Look up a region with the full path from root.
path | the region's path, such as RootA/Sub1/Sub1A . |
Implements apache::geode::client::RegionService.
|
overridevirtual |
public methods
Indicates if this cache has been closed. After a new cache object is created, this method returns false; After the close is called on this cache object, this method returns true.
Implements apache::geode::client::RegionService.
|
overridevirtual |
Returns a set of root regions in the cache.
This set is a snapshot and is not backed by the Cache. The vector passed in is cleared and the regions are added to it.
Implements apache::geode::client::RegionService.