VMware Tanzu GemFire Native C++ Reference
10.1.5
|
Creates an authenticated cache view to allow credential based access to region services. More...
Inherits apache::geode::client::RegionService.
Public Member Functions | |
AuthenticatedView (std::shared_ptr< Properties > credentials, std::shared_ptr< Pool > pool, CacheImpl *cacheImpl) | |
constructors More... | |
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... | |
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... | |
virtual | ~AuthenticatedView () |
destructor More... | |
Creates an authenticated cache view to allow credential based access to region services.
|
virtual |
destructor
apache::geode::client::AuthenticatedView::AuthenticatedView | ( | std::shared_ptr< Properties > | credentials, |
std::shared_ptr< Pool > | pool, | ||
CacheImpl * | cacheImpl | ||
) |
constructors
|
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.
keepalive | whether to keep a durable client's queue alive |
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 |
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.
regions | the returned set of regions |
Implements apache::geode::client::RegionService.