20#ifndef GEODE_REGIONSERVICE_H_
21#define GEODE_REGIONSERVICE_H_
26#include "PdxInstanceFactory.hpp"
27#include "internal/geode_globals.hpp"
89 virtual std::shared_ptr<Region>
getRegion(
const std::string& name)
const = 0;
102 virtual std::vector<std::shared_ptr<Region>>
rootRegions()
const = 0;
111 const std::string& className)
const = 0;
123 const std::string& className,
bool expectDomainClass)
const = 0;
PdxInstanceFactory gives you a way to create PdxInstances.
Definition: PdxInstanceFactory.hpp:52
A RegionService provides access to existing regions that exist in a Geode cache.
Definition: RegionService.hpp:58
virtual bool isClosed() const =0
Indicates if this cache has been closed.
virtual PdxInstanceFactory createPdxInstanceFactory(const std::string &className) const =0
Returns a factory that can create a PdxInstance.
virtual std::shared_ptr< Region > getRegion(const std::string &name) const =0
Look up a region with the name.
virtual std::shared_ptr< QueryService > getQueryService()=0
Gets the QueryService from which a new Query can be obtained.
virtual std::vector< std::shared_ptr< Region > > rootRegions() const =0
Returns a set of root regions in the cache.
virtual void close()=0
Terminates this object cache and releases all the local resources.
virtual PdxInstanceFactory createPdxInstanceFactory(const std::string &className, bool expectDomainClass) const =0
Returns a factory that can create a PdxInstance.