build-artifacts/win/product/include/gfcpp/RegionService.hpp

Go to the documentation of this file.
00001 /*=========================================================================
00002  * Copyright (c) 2010-2014 Pivotal Software, Inc. All Rights Reserved.
00003  * This product is protected by U.S. and international copyright
00004  * and intellectual property laws. Pivotal products are covered by
00005  * one or more patents listed at http://www.pivotal.io/patents.
00006  *=========================================================================
00007  */
00008 #ifndef __GEMFIRE_RegionService_H__
00009 #define __GEMFIRE_RegionService_H__
00010 
00011 #include "gfcpp_globals.hpp"
00012 #include "gf_types.hpp"
00013 #include "VectorT.hpp"
00014 
00019 namespace gemfire {  
00020 
00021   class Region;
00022   class QueryService;
00023 
00043 class CPPCACHE_EXPORT RegionService : public SharedBase {
00047 public:
00048     
00057    virtual bool isClosed() const = 0;
00058 
00068    virtual void close() = 0;
00069 
00070   
00076    virtual RegionPtr getRegion(const char* name) = 0 ;
00077 
00082    virtual QueryServicePtr getQueryService() = 0;
00083 
00092    virtual void rootRegions(VectorOfRegion& regions) = 0;
00093 
00100   virtual PdxInstanceFactoryPtr createPdxInstanceFactory(const char* className) = 0; 
00101 };
00102 
00103 
00104 }; //namespace gemfire
00105 #endif //ifndef __GEMFIRE_RegionService_H__

GemFire C++ Cache API Documentation